Skip to content

Commit

Permalink
update actions in CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jan 24, 2024
1 parent db4372b commit 0800380
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'bump up version:')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.19.0'
- name: Build sources
Expand All @@ -37,8 +37,8 @@ jobs:
name: Run staticcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.19.0'
- name: Check Go sources are formatted
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip action check]') && !contains(github.event.head_commit.message, 'bump up version:')"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run action
uses: ./action/
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Update changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: master
- uses: rhysd/changelog-from-release/action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/private-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
private-repo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.19.0'
- name: Build sources
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.19.0'
- uses: goreleaser/goreleaser-action@v3
- uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: --rm-dist
Expand Down

0 comments on commit 0800380

Please sign in to comment.