Skip to content

Commit

Permalink
Pin GitHub Actions workflows to a specific version (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Nov 21, 2023
1 parent 966e52f commit 749ac65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
compiler: [clang++-6.0, g++-10]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Dependencies
# Boost must be installed only because the CMake version (3.12) can't
# detect the installed Boost version (1.69)
Expand All @@ -37,7 +37,7 @@ jobs:
matrix:
compiler: [clang++, g++]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Dependencies
# Boost must be installed only because the CMake version (3.12) can't
# detect the installed Boost version (1.69)
Expand All @@ -64,7 +64,7 @@ jobs:
needs: [linux-min]
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run Tests
shell: powershell
# Delete the exercises that require Boost to avoid issues with Windows setup.
Expand All @@ -80,7 +80,7 @@ jobs:
needs: [linux-min]
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Boost
run: brew install boost
- name: Run Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hello-world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Hello World Fails
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Check Hello World Fails
run: bin/check-hello-world.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: [ubuntu-22.04]
steps:
- name: "Checkout code"
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: "Verify formatting of all files"
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 749ac65

Please sign in to comment.