Skip to content

Commit

Permalink
fix zizmor report for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelb committed Dec 12, 2024
1 parent b812b7c commit 50b5830
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: build
run: cargo build --target x86_64-unknown-linux-gnu --release --verbose && mv ./target/x86_64-unknown-linux-gnu/release/sniprun .

Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@ jobs:
name : build-latest-stable
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build
run: cargo build --verbose --release --target x86_64-unknown-linux-gnu

buildmsrv:
name: build-msrv
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: "rm Cargo.lock"
- name: Install Rust 1.65 toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -34,7 +38,9 @@ jobs:
name: build-nightly
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -48,7 +54,9 @@ jobs:
runs-on: ubuntu-20.04
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false

- run: './ressources/install_all_compilers_ci.sh'

Expand All @@ -75,7 +83,9 @@ jobs:
name: install (download)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: installation tests
run: ./install.sh

Expand Down

0 comments on commit 50b5830

Please sign in to comment.