Explicity mention rootfs in hw-config #19
Workflow file for this run
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: validation | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
keys: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y curl jq wget | |
- name: Install sops | |
run: | | |
latest_url=$(curl -s https://api.github.com/repositories/40684033/releases/latest | jq -r '.assets[] | select(.name | endswith("amd64.deb")) | .browser_download_url') | |
echo "Latest sops release URL: $latest_url" | |
wget -O /tmp/sops_latest.deb $latest_url | |
sudo dpkg -i /tmp/sops_latest.deb | |
sudo apt-get install -f -y | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Validate specified public keys | |
run: | | |
sops updatekeys -y $(find . -name secrets.yaml) | |
flake-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: "extra-platforms = aarch64-linux" | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Nix flake check | |
run: | | |
nix flake check |