Skip to content

Commit

Permalink
Pin rust version in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
h33p committed Dec 17, 2023
1 parent e56dc5e commit 38aeb80
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.74
target: aarch64-unknown-linux-gnu
override: true

- name: Build
run: cargo build --workspace --all-features --verbose
Expand All @@ -27,7 +32,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.74
target: aarch64-unknown-linux-gnu
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -43,6 +48,11 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.74
target: aarch64-unknown-linux-gnu
override: true

- name: Pre-build binaries (for inventory integration tests)
run: cargo build --workspace --all-features --verbose
Expand All @@ -61,7 +71,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.74
target: aarch64-unknown-linux-gnu
override: true
- name: Pre-build binaries (for inventory integration tests)
Expand All @@ -81,7 +91,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.74
target: aarch64-unknown-linux-gnu
override: true
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt -- --check
- uses: actions-rs/clippy-check@v1
Expand Down

0 comments on commit 38aeb80

Please sign in to comment.