fix: lock nanobyte-public/rust-action

This commit is contained in:
Ondrej Vlach 2023-12-09 17:46:12 +01:00
parent 46cba0eef9
commit 95eb691368
Signed by: ovlach
GPG Key ID: 4FF1A23B4914DE70

View File

@ -22,7 +22,7 @@ jobs:
.cache .cache
target target
restore-keys: ${{github.repository}}-cache-cargo-clippy-v4 restore-keys: ${{github.repository}}-cache-cargo-clippy-v4
- uses: nanobyte-public/rust-action@master - uses: nanobyte-public/rust-action@v3
with: with:
args: CARGO_HOME=./.cache cargo-nan \"${{secrets.deployment_package}}\" cargo clippy -- -Dwarnings args: CARGO_HOME=./.cache cargo-nan \"${{secrets.deployment_package}}\" cargo clippy -- -Dwarnings
- uses: https://gitea.com/wolfogre/cache/save@v3 - uses: https://gitea.com/wolfogre/cache/save@v3
@ -49,10 +49,10 @@ jobs:
target target
key: "${{github.repository}}-cache-test-clippy-v4-${{ steps.get-hash.outputs.hash }}" key: "${{github.repository}}-cache-test-clippy-v4-${{ steps.get-hash.outputs.hash }}"
restore-keys: ${{github.repository}}-cache-test-test-v4 restore-keys: ${{github.repository}}-cache-test-test-v4
- uses: nanobyte-public/rust-action@master - uses: nanobyte-public/rust-action@v3
with: with:
args: | args: |
CARGO_HOME=./.cache cargo-nan \"Bearer ${{secrets.deployment_package}}\" cargo test CARGO_HOME=./.cache cargo-nan \"${{secrets.deployment_package}}\" cargo test
- uses: https://gitea.com/wolfogre/cache/save@v3 - uses: https://gitea.com/wolfogre/cache/save@v3
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
with: with: