This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
chore(deps): bump marocchino/sticky-pull-request-comment from 2.6.2 to 2.7.0 #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
Restore-Cache-Miss: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: rust-sccache-action | |
- name: Installing Rust | |
uses: dtolnay/rust-toolchain@stable | |
- uses: ./rust-sccache-action | |
id: cache | |
with: | |
shared-key: ${{ github.run_id }}-${{ github.run_attempt }} | |
skip-save: true | |
autoclean: true | |
- run: mkdir target | |
- env: | |
CACHE_HIT: ${{ steps.cache.outputs.cache-hit }} | |
run: | | |
if [[ "$CACHE_HIT" != 'false' ]]; then | |
echo 'Cache was hit, but it should not have been.' | |
exit 1 | |
fi | |
Restore-Save-Cache-Miss: | |
needs: [Restore-Cache-Miss] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: rust-sccache-action | |
- name: Installing Rust | |
uses: dtolnay/rust-toolchain@stable | |
- uses: ./rust-sccache-action | |
id: cache | |
with: | |
shared-key: ${{ github.run_id }}-${{ github.run_attempt }} | |
skip-save: false | |
autoclean: true | |
- run: mkdir target | |
- env: | |
CACHE_HIT: ${{ steps.cache.outputs.cache-hit }} | |
run: | | |
if [[ "$CACHE_HIT" != 'false' ]]; then | |
echo 'Cache was hit, but it should not have been.' | |
exit 1 | |
fi | |
Cache-Hit: | |
needs: [Restore-Save-Cache-Miss] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
skip-save: [true, false] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: rust-sccache-action | |
- name: Installing Rust | |
uses: dtolnay/rust-toolchain@stable | |
- uses: ./rust-sccache-action | |
id: cache | |
with: | |
shared-key: ${{ github.run_id }}-${{ github.run_attempt }} | |
skip-save: ${{ matrix.skip-save }} | |
- env: | |
CACHE_HIT: ${{ steps.cache.outputs.cache-hit }} | |
run: | | |
if [[ "$CACHE_HIT" != 'true' ]]; then | |
echo 'Cache was missed, but it should not have been.' | |
exit 1 | |
fi |