This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
Merge pull request #141 from devnw/dependabot/github_actions/pascalgn… #290
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: Build | |
on: | |
push: | |
branches: | |
- main | |
env: | |
GOPRIVATE: go.spyder.org | |
jobs: | |
build: | |
name: "Build" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: de-vri-es/setup-git-credentials@v2 | |
with: | |
credentials: ${{secrets.GIT_CREDENTIALS}} | |
- name: Install 1Password CLI | |
uses: 1password/install-cli-action@v1 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v18 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- uses: workflow/nix-shell-action@v3 | |
id: build | |
with: | |
flakes-from-devshell: true | |
script: | | |
make build-ci | |
- name: Upload Test Coverage | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: coverage.txt | |
- name: Upload Fuzz Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fuzz-results | |
path: testdata/fuzz |