Skip to content

Support changeset-driven versioning for non-Rust packages in a Cargo workspace #47

Support changeset-driven versioning for non-Rust packages in a Cargo workspace

Support changeset-driven versioning for non-Rust packages in a Cargo workspace #47

---
name: Lint Workflows and Actions
on:
push:
branches: [main]
paths:
- '.github/**'
- 'zizmor.yml'
pull_request:
branches: [main]
paths:
- '.github/**'
- 'zizmor.yml'
jobs:
actionlint:
name: Lint workflows (actionlint)
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Run actionlint
run: ${{ steps.get_actionlint.outputs.executable }} -color # zizmor: ignore[template-injection]
shell: bash
zizmor:
name: Security audit workflows and actions (zizmor)
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
actions: read
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@v0.5.0