name: Security on: workflow_run: workflows: [CI] types: [completed] schedule: - cron: "0 6 * * *" workflow_dispatch: permissions: contents: read security-events: write defaults: run: shell: bash concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: audit: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0 with: install: true cache: true github_token: ${{ secrets.GITHUB_TOKEN }} - name: Run cargo deny check run: mise x -- cargo deny check --config deny.toml - name: Run cargo outdated run: mise x -- cargo outdated --depth=1 --exit-code=1 - name: Run goreleaser check run: mise x -- goreleaser check