19 lines
474 B
YAML
19 lines
474 B
YAML
name: "Build and test"
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: https://gitea.com/actions/checkout@v3
|
|
- name: Install nix
|
|
uses: https://github.com/cachix/install-nix-action@v23
|
|
with:
|
|
github_access_token: ${{ secrets.INPUT_GITHUB_ACCESS_TOKEN }}
|
|
- name: Stub data files
|
|
run: touch src/data/day{01..31}.txt
|
|
- name: Build package
|
|
run: nix build
|