diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index beb8cb3dba..4205ddbeda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0a4ac2552..65ab5cf7fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 @@ -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