github: pin actions/checkout version by hash

This commit is contained in:
Martin von Zweigbergk 2022-03-16 20:58:04 -07:00 committed by Martin von Zweigbergk
parent cc13a2ec84
commit b36e50c09d
4 changed files with 7 additions and 7 deletions

View file

@ -16,7 +16,7 @@ jobs:
operating-system: [ ubuntu-latest, windows-latest, macos-latest ] operating-system: [ ubuntu-latest, windows-latest, macos-latest ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- name: Install Rust (stable) - name: Install Rust (stable)
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@ -40,7 +40,7 @@ jobs:
name: Check formatting name: Check formatting
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly toolchain: nightly
@ -57,7 +57,7 @@ jobs:
permissions: write-all permissions: write-all
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
@ -74,7 +74,7 @@ jobs:
permissions: write-all permissions: write-all
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly toolchain: nightly

View file

@ -14,7 +14,7 @@ jobs:
name: nix-build name: nix-build
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: cachix/install-nix-action@v16 - uses: cachix/install-nix-action@v16

View file

@ -28,7 +28,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
- name: Install packages (Ubuntu) - name: Install packages (Ubuntu)
if: matrix.os == 'ubuntu-20.04' if: matrix.os == 'ubuntu-20.04'
run: | run: |

View file

@ -22,7 +22,7 @@ jobs:
steps: steps:
- name: "Checkout code" - name: "Checkout code"
uses: actions/checkout@v3 # v2.4.0 uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with: with:
persist-credentials: false persist-credentials: false