From 405bb3338f23dfc8b06f25c3c727749a60022531 Mon Sep 17 00:00:00 2001 From: justin0u0 Date: Tue, 5 Mar 2024 11:54:35 +0800 Subject: [PATCH] ci: upgrade Go and some actions version --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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