Skip to content

Commit

Permalink
Update tests.yml (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilehmann authored Apr 11, 2023
1 parent c5d12e5 commit 5b4932e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:
check-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Clone fixpoint
run: |
git clone https://github.com/ucsd-progsys/liquid-fixpoint
echo "fixpoint_hash=$(git -C liquid-fixpoint/ rev-parse HEAD)" >> $GITHUB_ENV
echo "local_binaries_path=$(pwd)/local-binaries" >> $GITHUB_ENV
- name: Cache fixpoint
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache-fixpoint
with:
path: local-binaries
key: fixpoint-bin-${{ runner.os }}-${{ env.fixpoint_hash }}
- name: Install Haskell
if: steps.cache-fixpoint.outputs.cache-hit != 'true'
uses: haskell/actions/setup@v1
uses: haskell/actions/setup@v2.3.7
with:
enable-stack: true
stack-version: "latest"
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
check-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Rust rustfmt
Expand All @@ -65,7 +65,7 @@ jobs:
check-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Add clippy
run: rustup component add clippy
- name: Rust Cache
Expand Down

0 comments on commit 5b4932e

Please sign in to comment.