.dotfiles/.github/workflows/main.yml
2025-03-20 20:06:08 -04:00

32 lines
837 B
YAML

on:
push:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
# - name: Maximize build space
# shell: bash
# run: |
# df -h
# sudo rm -rf /usr/share/dotnet
# sudo rm -rf /usr/local/lib/android
# sudo rm -rf /opt/ghc
# sudo rm -rf /opt/hostedtoolcache/CodeQL
# sudo docker image prune --all --force
# sudo docker builder prune -a
# df -h
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v16
with:
name: tmayoff
authToken: '${{ secrets.CACHIX_AUTH }}'
- name: Install omnix
run: nix --accept-flake-config profile install "github:juspay/omnix"
- run: om ci