Merge pull request #482 from numtide/renovate/ubuntu-24.x #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Coverage | |
on: [push] | |
jobs: | |
coverage: | |
runs-on: "ubuntu-24.04" | |
name: Coverage | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
accept-flake-config = true | |
experimental-features = nix-command flakes | |
- name: Run coverage | |
run: nix build .#treefmt.tests.coverage | |
- name: Upload coverage | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.github_token }} | |
file: result | |
format: golang |