Skip to content

Pin dependencies

Pin dependencies #538

Workflow file for this run

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@3354ae812cb672e1381be4c7914204c44db53866 # v0.3.1
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