Skip to content

Commit

Permalink
Use Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
frittentheke committed Feb 21, 2024
1 parent 512ff1b commit 1884851
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: Run Tests
run: go test ./...
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: Run Goreleaser
if: ${{ github.event_name != 'pull_request' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
- name: Lint
uses: golangci/[email protected]
with:
version: v1.54.2
version: v1.56.2
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 as builder
FROM golang:1.22 as builder
WORKDIR /app

# Requirements/Dependencies
Expand All @@ -14,4 +14,4 @@ COPY --from=builder app/prometheus-libvirt-exporter usr/bin/prometheus-libvirt-e
# Default listen on port 9177
EXPOSE 9177
# Start
CMD ["usr/bin/prometheus-libvirt-exporter"]
CMD ["usr/bin/prometheus-libvirt-exporter"]
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/inovex/prometheus-libvirt-exporter

go 1.21
go 1.22

require (
github.com/alecthomas/kingpin/v2 v2.4.0
Expand Down

0 comments on commit 1884851

Please sign in to comment.