diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index cf965b2..435320f 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -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 @@ -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 ./... diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 163a879..fa93e84 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/go.mod b/go.mod index d5f0912..a99e08e 100644 --- a/go.mod +++ b/go.mod @@ -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