Skip to content

drop support for 1.20 #30

drop support for 1.20

drop support for 1.20 #30

Workflow file for this run

name: "go test"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
paths:
- '**/*.go'
jobs:
test:
name: "go test"
runs-on: ubuntu-latest
strategy:
matrix:

Check failure on line 16 in .github/workflows/gotest.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gotest.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
go-version: [ '1.21.x', '1.22.x' '1.23.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: "go.sum"
- name: "print go version"
run: "go version"
- name: "install dependencies"
run: "go get -t ."
- name: "build"
run: "go build -v ./..."
- name: "tests"
run: "go test -count 100 ./..."
- name: "covered tests"
run: "go test -count 100 -coverprofile coverage.out ./..."
- name: "race check"
run: "go test -race -count 100 ./..."
- name: "check cleanups demo"
run: "go run ./cleanupsdemo"