diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index c39ec9a..07b19a7 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -1,23 +1,23 @@ name: golang on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: strategy: matrix: - go-version: ['1.19'] + go-version: [1.21] os: [ubuntu-latest, macos-latest, windows-latest] env: CGO_ENABLED: 0 runs-on: ${{ matrix.os }} steps: - - uses: actions/setup-go@v3 - with: - go-version: ${{ matrix.go-version }} - check-latest: true - - uses: actions/checkout@v3 - - run: go build ./... - - run: go vet ./... + - uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go-version }} + check-latest: true + - uses: actions/checkout@v3 + - run: go build ./... + - run: go vet ./... diff --git a/go.mod b/go.mod index 5eaa192..dbecfbd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module paepcke.de/hq -go 1.22.3 +go 1.21 require ( github.com/klauspost/compress v1.17.8