From ef62a42e14ce91963d4017c361b0e7205a0e3f15 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 14 Nov 2024 09:14:46 +0000 Subject: [PATCH] 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. --- .forgejo/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 195e8c5..f6502a7 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -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