Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ on:
- cron: "17 4 * * *"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: assurance-${{ github.ref }}
Expand All @@ -45,8 +43,12 @@ env:
CARGO_TERM_COLOR: always
TARGET: x86_64-unknown-linux-musl

permissions: {}

jobs:
musl:
permissions:
contents: read
name: build and test the published target
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
retention-days: 3

regressions:
permissions:
contents: read
name: root + Landlock regressions
needs: musl
runs-on: ubuntu-latest
Expand Down Expand Up @@ -244,6 +248,8 @@ jobs:
} >> "$GITHUB_STEP_SUMMARY"

fuzz:
permissions:
contents: read
name: fuzz the parsers over untrusted input
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ on:
- cron: "23 5 * * 1"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: audit-${{ github.ref }}
Expand All @@ -44,8 +42,12 @@ env:
# now and then.
CARGO_AUDIT_VERSION: 0.22.2

permissions: {}

jobs:
audit:
permissions:
contents: read
name: cargo audit
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ on:
branches: [main]
pull_request:

permissions:
contents: read

concurrency:
group: ci-${{ github.ref }}
Expand All @@ -29,8 +27,12 @@ concurrency:
env:
CARGO_TERM_COLOR: always

permissions: {}

jobs:
test:
permissions:
contents: read
name: lint, test and build (gnu)
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,20 @@ on:
description: Tag or commit SHA to build and publish
required: true

permissions:
contents: read

env:
TARGET: x86_64-unknown-linux-musl

permissions: {}

jobs:
# Split from `publish` so that nothing running during the build -- a build
# script, a proc macro, a compromised crate -- is in the same job as the
# bucket-write OIDC token. This job cannot mint one: it has no `id-token`
# permission and no environment.
build:
permissions:
contents: read
runs-on: ubuntu-latest
outputs:
sha256: ${{ steps.artifact.outputs.sha256 }}
Expand Down
Loading