Skip to content

build: fixing typo in taskfile #52

build: fixing typo in taskfile

build: fixing typo in taskfile #52

Workflow file for this run

name: Nix
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check
# Run 1 at a time and print all the log files
run: nix flake check --max-jobs 1 -L
# This should really be a noop since the package is built in the checks
- name: Build
run: nix build
# This should really be a noop since the package is already built
# This is run to get the coverage file linked in result/lcov.info
- name: Build Coverage
run: nix build -L .#checks.x86_64-linux.cmprss-tarpaulin
# Upload code coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./result/lcov.info