From b59ba1c29bedbe0ae59a3232671cb0489a0d3426 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 8 Nov 2023 08:42:34 +0100 Subject: [PATCH] ci: go 1.21 --- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0aaaec0..c3fd5f0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,9 +13,9 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: "1.21.x" - uses: actions/checkout@v3 - uses: golangci/golangci-lint-action@v3 with: - version: v1.52 + version: "v1.55" skip-go-installation: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a535393..66c8290 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,6 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: "1.21.x" - uses: actions/checkout@v3 - run: go test --race ./... diff --git a/go.mod b/go.mod index 5da0de4..73c59d4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hacdias/xkcd-archiver -go 1.20 +go 1.21 require ( github.com/karlseguin/typed v1.1.8