Skip to content

project-dsl-composition: M5 — port v8 mechanisms to libs/repro_projec… #364

project-dsl-composition: M5 — port v8 mechanisms to libs/repro_projec…

project-dsl-composition: M5 — port v8 mechanisms to libs/repro_projec… #364

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run linters
run: nix develop --command just lint
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: lint-logs
path: test-logs/
retention-days: 30
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: nix develop --command just test
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: test-logs
path: test-logs/
retention-days: 30
nix-build:
name: Nix Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Build default package
run: nix build .#default
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: build-logs
path: test-logs/
retention-days: 30