Skip to content

nix: downgrade to GHC 9.6 (main, cached) #8

nix: downgrade to GHC 9.6 (main, cached)

nix: downgrade to GHC 9.6 (main, cached) #8

Workflow file for this run

name: "CI"
on:
pull_request:
push:
create:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: docker/setup-buildx-action@v2
- run: nix build -L
- run: nix build -L '.#packages.x86_64-linux.github-action-scan-static'
- run: nix flake check
- name: Extract tag name
shell: bash
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})"
id: extract_tag
- run: nix build -L '.#packages.x86_64-linux.github-action-scan-image'