Skip to content

fix for tests

fix for tests #3

Workflow file for this run

name: ci
on:
push:
branches: ["**"]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Go test
run: go test ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
build-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Build
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o /tmp/pgkernel-${{ matrix.goos }}-${{ matrix.goarch }} ./cmd/pgkernel