Skip to content

Add support for Forgejo #258

Add support for Forgejo

Add support for Forgejo #258

Workflow file for this run

name: "test"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: DeterminateSystems/nix-installer-action@v10
- uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Build
run: nix-build
- name: Run pre-commit hooks
run: nix-shell --run "pre-commit run --all"
- name: Test dev shell
# Simple check that the pins in the current repository are still working.
# Importantly, this will fail on any version mismatch, indicating that versions need to be upgraded.
run: nix-shell --run "npins show"
- name: Run smoke test
run: nix-shell --run "bash ./.github/workflows/smoke-test.sh"
- name: Run integration tests
run: nix-build -A meta.tests