From 739ea9cf91e6e105f630675118a8ab593d29ee2f Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Mon, 15 Jan 2024 14:36:53 +0100 Subject: [PATCH] Bump the go version to 1.20 --- .github/workflows/go-tests.yml | 34 +++++++++++++++++----------------- go.mod | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index c12da60..c46d3cf 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -3,20 +3,20 @@ name: tests on: [push, pull_request] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - uses: actions/setup-go@v2 - with: - go-version: '1.18' - - name: Run coverage - run: go test -coverprofile=coverage.out -covermode=atomic -race -v ./... - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: coverage.out - flags: unit-linux + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + - uses: actions/setup-go@v2 + with: + go-version: "1.20" + - name: Run coverage + run: go test -coverprofile=coverage.out -covermode=atomic -race -v ./... + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage.out + flags: unit-linux diff --git a/go.mod b/go.mod index 24d9832..2943a3c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/datarhei/gosrt -go 1.18 +go 1.20 require ( github.com/benburkert/openpgp v0.0.0-20160410205803-c2471f86866c