Skip to content

Commit

Permalink
ci: enable tests with go 1.19.x
Browse files Browse the repository at this point in the history
The verify / lint CI workflow running golangci-lint currently fails
with:

	phaul/api.go:30: File is not `gofmt`-ed with `-s` (gofmt) //Methods:
	phaul/server.go:37: File is not `gofmt`-ed with `-s` (gofmt) //

The problem occurs because, for some reason, golangci-lint is using
gofmt from go 1.19. In a previous patch the code has been formatted with
go 1.19. This patch enables the CI tests to run with go 1.19.X.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
  • Loading branch information
rst0git committed Aug 10, 2022
1 parent c1ad6bf commit 7021e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.17.x, 1.18.x]
go-version: [1.17.x, 1.18.x, 1.19.x]
# criu is pre-installed in the Ubuntu 20.04 GitHub Action virtual
# environment as a dependency for Podman
criu_branch: ["", criu-dev]
Expand Down

0 comments on commit 7021e23

Please sign in to comment.