build: use pinned version of rust action
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:
parent
87e22a6efc
commit
ef62a42e14
1 changed files with 6 additions and 6 deletions
|
@ -16,31 +16,31 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Machete
|
- name: Machete
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||||
with:
|
with:
|
||||||
args: cargo machete
|
args: cargo machete
|
||||||
|
|
||||||
- name: Format
|
- name: Format
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo fmt --check
|
args: ${{ matrix.toolchain.name }} cargo fmt --check
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo clippy
|
args: ${{ matrix.toolchain.name }} cargo clippy
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo test
|
args: ${{ matrix.toolchain.name }} cargo test
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo build
|
args: ${{ matrix.toolchain.name }} cargo build
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo run
|
args: ${{ matrix.toolchain.name }} cargo run
|
||||||
|
|
Loading…
Reference in a new issue