Skip to content

Commit

Permalink
Merge pull request #350 from KodrAus/ci/sha-versions
Browse files Browse the repository at this point in the history
Use explicit hashes for actions steps
  • Loading branch information
KodrAus committed May 3, 2023
2 parents 0c318c0 + 220b435 commit 1d8388b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Install Rust Toolchain
run: rustup default ${{ matrix.channel }}-${{ matrix.rust_target }}
Expand All @@ -62,23 +62,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Install Rust toolchain
run: rustup default nightly

- name: Default features
uses: actions-rs/cargo@v1
with:
command: bench
args: --no-run
run: cargo bench --no-run

msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Install tombl
run: cargo install tombl
Expand All @@ -95,15 +92,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Install Rust toolchain
run: |
rustup default nightly
rustup target add thumbv6m-none-eabi
- name: Default features
uses: actions-rs/cargo@v1
with:
command: build
args: -Z avoid-dev-deps --features example_generated --target thumbv6m-none-eabi
run: cargo build -Z avoid-dev-deps --features example_generated --target thumbv6m-none-eabi

0 comments on commit 1d8388b

Please sign in to comment.