Skip to content

nix: Simplify flake #232

nix: Simplify flake

nix: Simplify flake #232

Workflow file for this run

name: Build and test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Build
run: go build -o pushup -ldflags "-s -w -extldflags '-static'" -v
env:
CGO_ENABLED: 0
- name: Test
run: go test -v . ./_runtime
- name: Upload Pushup executable
uses: actions/upload-artifact@v3
with:
name: pushup-exe
path: pushup
retention-days: 3