From a127268e9961e9dd0039526d5f2ef79e7aeb6830 Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 06:25:46 +0200 Subject: [PATCH 1/7] Add toolchain to go.mod --- go.mod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go.mod b/go.mod index 6899f9a..ee31464 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/ioki-mobility/go-outline go 1.20 +toolchain go1.22.3 + require ( github.com/rsjethani/rsling v0.2.0 github.com/spf13/cobra v1.8.0 From a2f97bf7581bba3d583ccbfb659bd8a528d63cd6 Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 06:28:55 +0200 Subject: [PATCH 2/7] Update checks.yml --- .github/workflows/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 6cdd9eb..5ead988 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.19' + go-version: '1.22.2' cache: false - name: Refresh CLI docs run: go run internal/cli-docgen.go @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.19' + go-version: '1.22.2' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 From bcc436a8104a267a4f69f4b44d7d2ba85c69653b Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 14:09:26 +0200 Subject: [PATCH 3/7] Update checks.yml --- .github/workflows/checks.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 5ead988..b21ce66 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -39,16 +39,12 @@ jobs: go-test: name: testing - strategy: - matrix: - go-version: ['1.19.x', '1.20.x'] - os: [ubuntu-latest] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go-version }} + go-version: '1.22.2' - name: Checkout code uses: actions/checkout@v4 - name: Test From b6775087af9e6376c0151a9fd4dbfbd7498b0bf4 Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 14:10:19 +0200 Subject: [PATCH 4/7] Update checks.yml --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b21ce66..1019bcf 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version-file: 'go.mod' cache: false - name: Refresh CLI docs run: go run internal/cli-docgen.go @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version-file: 'go.mod' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 @@ -44,7 +44,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version-file: 'go.mod' - name: Checkout code uses: actions/checkout@v4 - name: Test From 07939c3c97fb3b114a7f8045f3774fec2519aa98 Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 14:11:36 +0200 Subject: [PATCH 5/7] Update checks.yml --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 1019bcf..b21ce66 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version: '1.22.2' cache: false - name: Refresh CLI docs run: go run internal/cli-docgen.go @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version: '1.22.2' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 @@ -44,7 +44,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version: '1.22.2' - name: Checkout code uses: actions/checkout@v4 - name: Test From 9bf9ac1b7d76909997ddf235e55ec55742f834dc Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 14:12:08 +0200 Subject: [PATCH 6/7] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4eefd6f..7d30142 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version: '1.22.2' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 From 38ef24b32f7ad924695b78a12abac917166a169e Mon Sep 17 00:00:00 2001 From: Stefan M Date: Tue, 4 Jun 2024 14:18:40 +0200 Subject: [PATCH 7/7] Update checks.yml --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b21ce66..40d6374 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -35,7 +35,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.53.3 + version: v1.59.0 go-test: name: testing