Skip to content

Fix handling of t.Skip inside of t.Cleanup funcs #67

Fix handling of t.Skip inside of t.Cleanup funcs

Fix handling of t.Skip inside of t.Cleanup funcs #67

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.x', '1.23.x']
env:
GO_NOT_LATEST: ${{ matrix.go-version != '1.23.x' }}
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Verify Go version
run: go version
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Verify golden files
if: env.IS_OLDER_VERSION == 'false'
run: make diff-testdata
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.63.4