diff options
| author | Linus Färnstrand <faern@faern.net> | 2022-06-23 10:35:37 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2022-07-01 10:03:09 +0200 |
| commit | 9a9871e9b84eca23b256de2a9a7f8fd9049648dc (patch) | |
| tree | e15f13554ff1d80ee5312127ea0d9a45da07906e /.github/workflows | |
| parent | 89ebfbdd402f3b82efd6e921d03304a7381f73cf (diff) | |
| download | mullvadvpn-9a9871e9b84eca23b256de2a9a7f8fd9049648dc.tar.xz mullvadvpn-9a9871e9b84eca23b256de2a9a7f8fd9049648dc.zip | |
Add a cargo-deny github actions workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust-supply-chain.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/rust-supply-chain.yml b/.github/workflows/rust-supply-chain.yml new file mode 100644 index 0000000000..0aea441087 --- /dev/null +++ b/.github/workflows/rust-supply-chain.yml @@ -0,0 +1,24 @@ +name: Rust - Supply chain +on: + # Check whenever a file that affects Rust and its dependencies is changed in a pull request + pull_request: + paths: + - .github/workflows/rust-supply-chain.yml + - deny.toml + - '**/Cargo.toml' + - Cargo.lock + - '**/*.rs' + # Check if requested manually from the Actions tab + workflow_dispatch: +jobs: + check-supply-chain: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Run cargo deny + uses: EmbarkStudios/cargo-deny-action@v1 + with: + log-level: warn + command: check all |
