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

Fixing HLint execution on runners due to missing libtinfo5 dependency #3399

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
sudo apt install --yes z3

- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
sudo apt install --yes z3

- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
sudo apt install --yes z3

- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ${{ matrix.runner }}
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -70,14 +70,14 @@ jobs:
needs: nix-build
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v15
with:
extra_nix_config: |
substituters = http://cache.nixos.org https://hydra.iohk.io
Expand All @@ -103,7 +103,7 @@ jobs:
run: |
sudo apt install --yes z3

- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
run: |
sudo apt install --yes z3

- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
run: |
sudo apt install --yes z3

- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -213,12 +213,16 @@ jobs:
env:
hlint_version: "3.4.1"
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive

- name: Install HLINT Dependencies
run: |
sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install --yes libtinfo5

- name: Download hlint
run: curl -sSL https://github.com/ndmitchell/hlint/releases/download/v${{ env.hlint_version }}/hlint-${{ env.hlint_version }}-x86_64-linux.tar.gz | tar xvz

Expand All @@ -231,14 +235,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
# Check out pull request HEAD instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v15
with:
extra_nix_config: |
substituters = http://cache.nixos.org https://hydra.iohk.io
Expand Down