Lock file maintenance #543
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: "Build systems" | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [memes-ubuntu, macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
# - name: Maximize build space | |
# if: runner.os == 'Linux' | |
# uses: AdityaGarg8/remove-unwanted-software@v4 | |
# with: | |
# remove-dotnet: 'true' | |
# remove-android: 'true' | |
# remove-haskell: 'true' | |
# remove-codeql: 'true' | |
# remove-docker-images: 'true' | |
# remove-large-packages: 'true' | |
# remove-cached-tools: 'true' | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d # v16 | |
with: | |
extra-conf: | | |
build-dir = /opt | |
download-buffer-size = 524288000 | |
extra-substituters = https://nix-community.cachix.org | |
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= | |
- name: Setup Attic cache | |
uses: ryanccn/attic-action@f6b7e98e9ba10c6db4841e4996cd3fe4bdb3f3ed # v0.3.2 | |
with: | |
endpoint: ${{ vars.ATTIC_ENDPOINT }} | |
cache: ${{ vars.ATTIC_CACHE }} | |
token: ${{ secrets.ATTIC_TOKEN }} | |
- name: Hacks to work around attic overriding my nix.conf | |
run: | | |
cat /etc/nix/nix.custom.conf >> ~/.config/nix/nix.conf | |
- name: Install omnix | |
run: nix --accept-flake-config profile install "github:juspay/omnix" | |
- run: om ci run -- --refresh -j auto --keep-going |