blob: 4b5d4a0907fdf013e8422a33ce8fe01354099c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
---
name: Rust - Supply chain
on:
pull_request:
paths:
- .github/workflows/rust-supply-chain.yml
- deny.toml
- '**/Cargo.toml'
- Cargo.lock
- '**/*.rs'
workflow_dispatch:
permissions: {}
jobs:
check-supply-chain:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: ./.github/actions/mullvad-build-env
- name: Run cargo deny
uses: EmbarkStudios/cargo-deny-action@v2
with:
log-level: warn
rust-version: stable
command: check all
# Run an additional license check for the iOS crate to catch GPL3 issues
- name: Run cargo deny for iOS (GPL3 check)
uses: EmbarkStudios/cargo-deny-action@v2
with:
manifest-path: mullvad-ios/Cargo.toml
log-level: error
rust-version: stable
command: check licenses
|