Skip to content

Commit

Permalink
⬆️ Bump actions/setup-go@v4 to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
flowirtz committed Jul 30, 2024
1 parent f51eca9 commit e6d3ac8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Format
on:
pull_request:
branches:
- main
- main

permissions:
# Grant the ability to checkout the repository
Expand All @@ -17,13 +17,13 @@ jobs:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Check out code
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Format
run: make install-go-fmt-tools install-md-fmt-tools fmt && test $(git diff -p | wc -l) -eq 0
- name: Format
run: make install-go-fmt-tools install-md-fmt-tools fmt && test $(git diff -p | wc -l) -eq 0
40 changes: 20 additions & 20 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Lint
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- opened
- synchronize
- reopened
branches:
- main
- main

permissions:
# Grant the ability to checkout the repository
Expand All @@ -23,24 +23,24 @@ jobs:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Check out code
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Setup node
uses: actions/setup-node@v4
- name: Setup node
uses: actions/setup-node@v4

- name: Setup reviewdog
run: go install github.com/reviewdog/reviewdog/cmd/reviewdog@latest
- name: Setup reviewdog
run: go install github.com/reviewdog/reviewdog/cmd/reviewdog@latest

- name: Install linters
run: make install-lint-tools
- name: Install linters
run: make install-lint-tools

- name: Lint
env:
REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: make lint
- name: Lint
env:
REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: make lint
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod

Expand Down

0 comments on commit e6d3ac8

Please sign in to comment.