Skip to content

Commit

Permalink
Merge pull request #4742 from uklotzde/github-ci-actions
Browse files Browse the repository at this point in the history
Update GitHub CI actions
  • Loading branch information
daschuer authored May 5, 2022
2 parents 1ce7b20 + d132d24 commit f80d44f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: ${{ matrix.name }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
# https://github.com/mozilla/sccache/issues/950
- name: "[Windows] Set up cargo cache"
if: runner.os == 'Windows'
uses: actions/cache@v2
uses: actions/cache@v3
id: sccache-build-cache
with:
path: C:\Users\runneradmin\.cargo
Expand All @@ -138,7 +138,7 @@ jobs:
run: cargo install --git https://github.com/mozilla/sccache.git --rev "${SCCACHE_COMMIT}"

- name: "Check out repository"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# This is necessary for making `git describe` work.
fetch-depth: 0
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:

- name: "[macOS/Windows] Set up build environment cache"
if: runner.os != 'Linux'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ matrix.buildenv_basepath }}
key: ${{ runner.os }}-buildenv-${{ env.BUILDENV_NAME }}
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
if: runner.os != 'windows'

- name: "Set up compiler cache"
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ matrix.compiler_cache_path }}
key: ${{ matrix.os }}-${{ matrix.compiler_cache }}-${{ github.head_ref }}-${{ github.run_number }}
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
needs: build
steps:
- name: "Check out repository"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: "Set up Python"
uses: actions/setup-python@v2
uses: actions/setup-python@v3

- name: Install clang-format
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-format-10
Expand Down

0 comments on commit f80d44f

Please sign in to comment.