build: use pinned version of rust action
All checks were successful
/ test (map[name:stable]) (push) Successful in 3m37s
/ test (map[name:nightly]) (push) Successful in 2m20s
/ test (map[name:v1.81.0]) (push) Successful in 1m2s

Using a branch doesn't help as the action runners cache the action the
first time they use it and don't update when the branch changes.
This commit is contained in:
Paul Campbell 2024-11-14 09:14:46 +00:00
parent 87e22a6efc
commit ef62a42e14

View file

@ -16,31 +16,31 @@ jobs:
- uses: actions/checkout@v4
- name: Machete
uses: https://git.kemitix.net/kemitix/rust@next
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: cargo machete
- name: Format
uses: https://git.kemitix.net/kemitix/rust@next
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: ${{ matrix.toolchain.name }} cargo fmt --check
- name: Clippy
uses: https://git.kemitix.net/kemitix/rust@next
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: ${{ matrix.toolchain.name }} cargo clippy
- name: Test
uses: https://git.kemitix.net/kemitix/rust@next
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: ${{ matrix.toolchain.name }} cargo test
- name: Build
uses: https://git.kemitix.net/kemitix/rust@next
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: ${{ matrix.toolchain.name }} cargo build
- name: Run
uses: https://git.kemitix.net/kemitix/rust@next
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
with:
args: ${{ matrix.toolchain.name }} cargo run