diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b615b6b..a8f6a0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.21 + go-version: 1.22 cache: true - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0cf61c..df958b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 # this is important, otherwise it won't checkout the full tree (i.e. no previous tags) - uses: actions/setup-go@v4 with: - go-version: 1.21 + go-version: 1.22 cache: true - uses: sigstore/cosign-installer@v3.1.2 # installs cosign - uses: anchore/sbom-action/download-syft@v0.14.3 # installs syft diff --git a/go.mod b/go.mod index 829ea3c..10804f8 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/fortnoxab/prometheus-net-discovery +module github.com/fortnoxab/prometheus-net-discovery/v2 go 1.22