Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c committed Apr 2, 2023
1 parent 2cc5dc3 commit a05ed8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
continue-on-error: true
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Rust
run: |
rustup toolchain add ${{ matrix.toolchain }} --component llvm-tools-preview
rustup override set ${{ matrix.toolchain }}
- name: Configure cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -62,13 +62,13 @@ jobs:
sudo apt-get update
sudo apt-get install -y clang-${{ matrix.clang }} g++-${{ matrix.gcc }}
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Rust
run: |
rustup toolchain add nightly --component llvm-tools-preview
rustup override set nightly
- name: Configure cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -101,17 +101,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
- name: Setup Rust
run: |
rustup update stable
rustup override set stable
- name: Install pre-commit
run: pip install --no-cache-dir pre-commit
- name: Configure Rust cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand All @@ -121,7 +121,7 @@ jobs:
target/
key: pre-commit-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Configure pre-commit cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
target: aarch64-pc-windows-msvc
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Rust
run: rustup target add ${{ matrix.target }}
- name: Install additional toolchains
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
;;
esac
- name: Configure cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
cd target/${{ matrix.target }}/release
7z a ../../dist/grcov-${{ matrix.target }}.zip grcov.exe
- name: Upload archive
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: artifact-${{ matrix.target }}
path: target/dist/*
Expand All @@ -117,7 +117,7 @@ jobs:
needs: [release]
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
- name: Create checksums
run: |
set -x
Expand Down

0 comments on commit a05ed8f

Please sign in to comment.