Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable tests with go 1.19.x #82

Merged
merged 2 commits into from
Aug 30, 2022

Commits on Aug 10, 2022

  1. Update format using gofmt 1.19

    This commit contains auto-generated changes with the following command:
    
        gofmt -w -s ./*/*.go
    
    Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
    rst0git committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    c1ad6bf View commit details
    Browse the repository at this point in the history
  2. ci: enable tests with go 1.19.x

    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>
    rst0git committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    7021e23 View commit details
    Browse the repository at this point in the history