Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several CI papercuts #320

Merged
merged 13 commits into from
Jan 6, 2021
Prev Previous commit
Next Next commit
Update caching strategy for compile_commands.json files - again
  • Loading branch information
thedataking committed Jan 5, 2021
commit e613f08fef7ef706b72c12e664d7150ac6cea050
8 changes: 7 additions & 1 deletion .github/workflows/internal-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,18 @@ jobs:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}

- name: Get Image Version
id: get-image-ver
run: |
echo "::set-output name=version::$(echo $ImageVersion)"
shell: bash

- name: Cache testsuite compile_commands
uses: actions/cache@v2
with:
path: |
${{ github.workspace }}/testsuite/tests/**/compile_commands.json
key: ${{ runner.os }}-ccdb-${{ env.ImageVersion }}
key: ${{ runner.os }}-ccdb-${{ steps.get-image-ver.outputs.version }}

- name: Provision Rust
run: rustup component add rustfmt-preview rustc-dev
Expand Down