Skip to content

Disable keyberry space maximization on arm64 runner #116

Disable keyberry space maximization on arm64 runner

Disable keyberry space maximization on arm64 runner #116

Workflow file for this run

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: Maximize build space
# uses: AdityaGarg8/[email protected]
# with:
# verbose: 'true'
# remove-dotnet: 'true'
# remove-android: 'true'
# remove-haskell: 'true'
# remove-codeql: 'true'
# remove-docker-images: 'true'
# remove-large-packages: 'true'
# remove-cached-tools: 'true'
# remove-swapfile: 'true'
# # Derivations are built under /tmp
# - name: Bind mount /tmp
# run: |
# sudo mkdir /mnt/nix /nix
# sudo chmod 0755 /nix
# sudo mount --bind /mnt/nix /nix
# - 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 --all-systems
# nix flake check