Update nixpkgs to nixos-24.05 #28
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
needs: [] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v5 | |
- id: cache-attic | |
name: Setup Nix cache (attic) | |
uses: YoloDev/actions-attic@main | |
with: | |
server: https://attic.alxandr.me | |
cache: yolodev-attic-image | |
token: ${{ secrets.ATTIC_TOKEN }} | |
- name: Check Nix flake Nixpkgs inputs | |
uses: DeterminateSystems/flake-checker-action@main | |
- name: Show flake | |
run: nix --accept-flake-config flake show | |
- name: Check flake | |
run: nix --accept-flake-config flake check | |
- name: Build attic-server | |
run: nix --accept-flake-config --extra-platforms aarch64-linux build .#attic-server | |
- name: Push to attic | |
run: attic push "${{ steps.cache-attic.outputs.cache }}" ./result |