chore: Configure Renovate #103
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: Go Tests | |
on: | |
# Run one or the other | |
push: | |
branches: [ main ] | |
pull_request: {} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: cachix/install-nix-action@v15 | |
- uses: actions/checkout@v2 | |
# Pull all the dependencies | |
- name: Load the nix-shell | |
run: nix develop -c echo OK | |
- name: Build with Go | |
run: nix develop -c go build -v | |
- name: Test with Go | |
run: nix develop -c go test -v ./... -timeout 30s | |
- name: Build with Nix | |
run: nix build | |