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

Update tests.yml #429

Merged
merged 2 commits into from
Apr 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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