ci: Pin runner in hlint, nix workflows to ubuntu-20.04

Both are now broken with ubuntu-22.04. Nix:

    error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted

hlint:

    /opt/hostedtoolcache/hlint/3.4.1/x64/hlint: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
This commit is contained in:
Tomas Janousek 2022-12-01 12:00:29 +00:00
parent 18eca4e8d6
commit b7afb0c0bc
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ on:
jobs:
hlint:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04 # FIXME
steps:
- uses: actions/checkout@v3

View File

@ -6,7 +6,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04 # FIXME
name: Nix Flake - Linux
permissions:
contents: read