Skip to content

Commit

Permalink
Merge pull request #187 from cloudfoundry/adjust-github-workflows
Browse files Browse the repository at this point in the history
Adjust GitHub workflows
  • Loading branch information
gmllt authored Jun 27, 2024
2 parents a3888f1 + 80e2e8a commit 5cc3dbc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: set up go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ">=1.20"
go-version: ">=1.22.4"

- name: tests modules
run: |
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USER: github-actions
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: set up go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ">=1.20"
go-version: ">=1.22.4"

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: set up go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ">=1.20"
go-version: ">=1.22.4"

- name: running unit-tests
run: |
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/bosh-prometheus/bosh_exporter

go 1.21.0

toolchain go1.22.0
go 1.22.4

require (
github.com/benjamintf1/unmarshalledmatchers v1.0.0
Expand Down

0 comments on commit 5cc3dbc

Please sign in to comment.