diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7388234..01a4d04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,15 +7,14 @@ on: jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - go: [ '1.21' ] steps: - uses: actions/checkout@v4 - name: Setup go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go }} + go-version-file: go.mod + check-latest: true + cache: true - name: Run tests run: | make test diff --git a/.github/workflows/scheduled-update-client.yml b/.github/workflows/scheduled-update-client.yml index c943491..bd7e4c9 100644 --- a/.github/workflows/scheduled-update-client.yml +++ b/.github/workflows/scheduled-update-client.yml @@ -11,7 +11,9 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version-file: go.mod + check-latest: true + cache: true - run: make fetch-openapi - run: make generate - name: Create Pull Request diff --git a/go.mod b/go.mod index 79b4a98..89ce2e8 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/humanitec/humanitec-go-autogen -go 1.21 +go 1.23 -toolchain go1.21.5 +toolchain go1.23.2 require ( github.com/oapi-codegen/runtime v1.1.1