Skip to content

Commit 91027cb

Browse files
jd-apprenticeSergioRibera
authored andcommitted
fix: codeql
1 parent 84e0921 commit 91027cb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/cargo-action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ jobs:
2929
runs-on: ${{ inputs.runs-on }}
3030
steps:
3131

32-
- uses: actions/checkout@v4
33-
- uses: actions-rs/toolchain@v1
32+
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af
3433
with:
3534
toolchain: stable
3635

37-
- uses: actions-rs/cargo@v1
36+
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505
3837
with:
3938
command: ${{ inputs.command }}
4039
args: ${{ inputs.args }}

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ jobs:
2222
clippy-command: "-- -D warnings"
2323
tests-command: "test"
2424

25-
build_and_test:
25+
build:
26+
permissions:
27+
contents: read
28+
2629
needs: quality-gate
27-
name: Rust project
30+
name: Build
2831
runs-on: ubuntu-latest
2932
steps:
3033

34+
- uses: actions/checkout@v4
3135
- uses: ./.github/workflows/cargo-action.yml
3236
with:
3337
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)