Skip to content

Commit

Permalink
Merge pull request #82 from systemli/Upgrade-to-Go-1.21
Browse files Browse the repository at this point in the history
⬆️ Upgrade to Go 1.21
  • Loading branch information
0x46616c6b committed Apr 2, 2024
2 parents 98a2b9e + daf8ee2 commit 7bfe6d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: "1.17.x"

- name: Cache Go Dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version-file: "go.mod"

- name: Vet
run: go vet
Expand All @@ -47,17 +37,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: "1.17.x"

- name: Cache Go Dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version-file: "go.mod"

- name: Build
run: go build ./...
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.17.x'

- name: Cache Go Dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version-file: "go.mod"

- name: Login to Docker Hub
uses: docker/login-action@v3.1.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/systemli/prometheus-etherpad-exporter

go 1.17
go 1.21

require (
github.com/google/go-cmp v0.6.0
Expand Down

0 comments on commit 7bfe6d0

Please sign in to comment.