use ubuntu 22.04 as base (ubuntu 18.04 is EOL) #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nixos tests | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- '.github/workflows/startup-tests.yml' | |
- '.github/workflows/change_log.yml' | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- '.github/workflows/startup-tests.yml' | |
- '.github/workflows/change_log.yml' | |
jobs: | |
compile: | |
name: nixos test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run test | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: nixos/nix:latest | |
options: -v ${{ github.workspace }}:/work | |
run: | | |
id;ls -al /work/; # compile command here | |
nix-build /work/buildscripts/nixos_qtox.nix |