From 6561eba9eb9ad2c0b8a0a9b14aa6d73fbc9a49d3 Mon Sep 17 00:00:00 2001 From: Gregor Noczinski Date: Wed, 13 Sep 2023 09:19:59 +0200 Subject: [PATCH] Moved to minimal Go Version 1.17 Moved to minimal Go Version 1.17 to adapt with latest build tools --- .github/workflows/ci.yml | 10 ++++------ go.mod | 2 +- native/go.mod | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1095c37..23eedfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.20.1 + go-version: 1.21.1 - name: Checkout code uses: actions/checkout@v4 @@ -44,7 +44,7 @@ jobs: name: Test strategy: matrix: - go-version: [ 1.13.0, 1.14.0, 1.15.0 ] + go-version: [ 1.17.0, 1.20.0, 1.21.0 ] os: [ ubuntu-latest, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} steps: @@ -65,9 +65,7 @@ jobs: ${{ runner.os }}-go- - name: Install goveralls - env: - GO111MODULE: off - run: go get github.com/mattn/goveralls + run: go install github.com/mattn/goveralls@latest - name: Test run: | @@ -109,7 +107,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.20.1 + go-version: 1.21.1 - name: Cache uses: actions/cache@v3 diff --git a/go.mod b/go.mod index 6540fab..393fb28 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/echocat/slf4g -go 1.13 +go 1.17 diff --git a/native/go.mod b/native/go.mod index f92a19e..d238485 100644 --- a/native/go.mod +++ b/native/go.mod @@ -1,6 +1,6 @@ module github.com/echocat/slf4g/native -go 1.13 +go 1.17 replace github.com/echocat/slf4g => ../