Skip to content

ci: update GitHub Actions runtimes #30

ci: update GitHub Actions runtimes

ci: update GitHub Actions runtimes #30

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: "1.26.x"
- name: Module verify
run: go mod verify
- name: Vet
run: go vet ./...
- name: golangci-lint
continue-on-error: true
uses: golangci/golangci-lint-action@v9
with:
version: v2.2.0
install-mode: goinstall
- name: Test with coverage
run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage
uses: actions/upload-artifact@v5
with:
name: coverage
path: coverage.out
- name: Build
run: make build