diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c6db44..9811671 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,19 +11,19 @@ jobs: uses: actions/checkout@v3 - name: setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: '1.21' - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.44.2 # test should be run inside a container to start helper services (ex: mongo) test: - runs-on: ubuntu-20.04 - container: golang:1.17 + runs-on: ubuntu-22.04 + container: golang:1.21 services: mongo: image: mongo:5