Update #101965
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: "Update" | |
on: | |
workflow_dispatch: | |
push: | |
schedule: | |
- cron: '*/60 * * * *' | |
jobs: | |
update: | |
timeout-minutes: 15 | |
runs-on: nscloud-ubuntu-22.04-amd64-4x16 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # flakes doesn't work on shallow clones | |
- name: install-nix | |
uses: cachix/install-nix-action@v23 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
extra_nix_config: | | |
system-features = kvm nixos-test | |
experimental-features = nix-command flakes | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: nixpkgs-wayland | |
signingKey: '${{ secrets.cachix_key_nixpkgs_wayland }}' | |
- name: git-setup | |
run: | | |
git config --global user.name 'Cole Botkens' | |
git config --global user.email '[email protected]' | |
- name: pre-load-devshell | |
run: | | |
nix build '.#devShells.x86_64-linux.default' | |
- name: update | |
run: | | |
set -xeuo pipefail | |
nix develop -c ./update.nu |