Skip to content

Commit

Permalink
ci: pin rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Obst committed Aug 20, 2024
1 parent d1ba163 commit f0070fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.76.0
override: true
- name: Install cwe_checker
run: make all GHIDRA_PATH=/opt/ghidra
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/codestyle_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.76.0
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
Expand All @@ -33,13 +33,17 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.76.0
override: true
components: clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D clippy::all -D missing_docs
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -p cwe_checker_lib --bench "benchmarks" -- -D clippy::all

doc:
name: Rustdoc
Expand All @@ -49,10 +53,10 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.76.0
override: true
components: rust-docs
- uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps --document-private-items
args: --no-deps --document-private-items
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.76.0
override: true
- uses: actions-rs/cargo@v1
with:
command: test
command: test

0 comments on commit f0070fa

Please sign in to comment.