Skip to content

Commit

Permalink
Merge pull request #144 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 031315a + 381dd4d commit 7dd812a
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 @@ -16,17 +16,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 @@ -45,17 +35,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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/systemli/prometheus-jitsi-meet-exporter

go 1.17
go 1.21

require github.com/google/go-cmp v0.6.0

0 comments on commit 7dd812a

Please sign in to comment.