From 015d87eb287329176f5471e22f79f84b4186fed7 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Tue, 12 Mar 2024 17:25:48 -0400 Subject: [PATCH] fix CI Signed-off-by: Alex Goodman --- .github/workflows/test.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aa76c96..d98e8b5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.16.x, 1.17.x] + go-version: [1.21.x, 1.22.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: @@ -14,7 +14,6 @@ jobs: go-version: ${{ matrix.go-version }} - name: Checkout code uses: actions/checkout@v2 - - name: Test go fmt run: test -z $(go fmt ./...) - name: Golangci-lint uses: golangci/golangci-lint-action@v2 @@ -27,5 +26,5 @@ jobs: env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - GO111MODULE=off go get github.com/mattn/goveralls + go install github.com/mattn/goveralls@latest $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github