Skip to content

ci(checks-docs): moved tests to ci flake. renamed docs/ -> ci/ #1134

ci(checks-docs): moved tests to ci flake. renamed docs/ -> ci/

ci(checks-docs): moved tests to ci flake. renamed docs/ -> ci/ #1134

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@v6
with:
fetch-depth: 0
# - name: Merge main into PR branch
# if: github.event_name == 'pull_request'
# run: |
# git config user.name "GitHub Actions"
# git config user.email "[email protected]"
# git fetch origin main
# if ! git merge origin/main; then
# echo "Merge failed due to conflicts. Please rebase your branch on main."
# exit 1
# fi
- 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 -Lvv --log-format bar-with-logs ./ci