Skip to content

Commit

Permalink
use tagged version for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq-b committed Feb 7, 2025
1 parent 273c16b commit c72120a
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 25 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Cargo-General
permissions: {}
permissions: { }

on:
pull_request:
paths:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CodeCoverage
permissions: {}
permissions: { }

on:
push:
Expand Down Expand Up @@ -36,8 +36,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'CodeCoverage' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: llvm-tools
- name: Install build dependencies
run: |
Expand Down Expand Up @@ -84,8 +85,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'CodeCoverage' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: llvm-tools
- name: Install build dependencies
run: |
Expand Down Expand Up @@ -163,8 +165,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'CodeCoverage' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: llvm-tools
- name: Install build dependencies
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CrossCompiling
permissions: {}
permissions: { }

on:
push:
Expand Down Expand Up @@ -88,8 +88,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'CrossCompiling' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
targets: ${{ matrix.target.rustc }}
components: clippy
- name: Install dependencies
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Linux-CI
permissions: {}
permissions: { }

on:
push:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
with:
submodules: true
- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@master
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Linux-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: ${{ matrix.rust }}
- name: Install dependencies
Expand All @@ -56,8 +56,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Linux-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
Expand Down Expand Up @@ -88,8 +89,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Linux-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
Expand Down Expand Up @@ -119,8 +121,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Linux-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: MacOS-CI
permissions: {}
permissions: { }

on:
push:
Expand Down Expand Up @@ -29,8 +29,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'MacOS-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
Expand Down Expand Up @@ -63,8 +64,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'MacOS-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
Expand Down Expand Up @@ -92,8 +94,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'MacOS-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Sphinx-Doc
permissions: {}
permissions: { }

on:
push:
Expand All @@ -19,6 +19,6 @@ jobs:
- g3tiles
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/sphinx-action@master
- uses: ammaraskar/sphinx-action@0.4

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Sphinx-Doc' step
Uses Step
uses 'ammaraskar/sphinx-action' with ref '0.4', not a pinned commit hash
with:
docs-folder: "sphinx/${{ matrix.component }}"
8 changes: 5 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: StaticLinking
permissions: {}
permissions: { }

on:
push:
Expand Down Expand Up @@ -36,8 +36,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'StaticLinking' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
targets: x86_64-unknown-linux-musl
- name: Install dependencies
run: |
Expand Down Expand Up @@ -65,8 +66,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'StaticLinking' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Cargo build
run: cargo build --no-default-features --features ${{ matrix.feature }},quic,vendored-c-ares,hickory
11 changes: 7 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Windows-CI
permissions: {}
permissions: { }

on:
push:
Expand Down Expand Up @@ -31,8 +31,9 @@ jobs:
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Windows-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Install tools (choco)
run: choco install capnproto
Expand Down Expand Up @@ -69,8 +70,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Windows-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Cargo build
run: cargo build --no-default-features --features ${{ matrix.feature }} -p ${{ matrix.component }}
Expand Down Expand Up @@ -101,8 +103,9 @@ jobs:
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Windows-CI' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'v1', not a pinned commit hash
with:
toolchain: stable
components: clippy
- name: Cargo build
run: cargo build --no-default-features --features ${{ matrix.feature }} -p ${{ matrix.component }}
Expand Down

0 comments on commit c72120a

Please sign in to comment.