Skip to content

CI: rebase on main to pickup new tests #121

CI: rebase on main to pickup new tests

CI: rebase on main to pickup new tests #121

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Rebase on main
if: github.event_name == 'pull_request'
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git fetch origin main
git rebase origin/main
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run checks
run: nix flake check --log-format bar-with-logs