Skip to content

Commit

Permalink
ci: Update github action modules
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Jul 3, 2023
1 parent 70662ea commit bf5c1b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
go: [ '1.20.x' ]
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v3.5.3
with:
fetch-depth: 0

- name: Lint
uses: reviewdog/action-golangci-lint@v2.1.3
uses: reviewdog/action-golangci-lint@v2.3.3
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yml"
Expand All @@ -34,7 +34,7 @@ jobs:
shell: bash

- name: Go installation
uses: actions/setup-go@v3.1.0
uses: actions/setup-go@v4.0.1
with:
go-version: ${{ matrix.go }}

Expand All @@ -51,7 +51,7 @@ jobs:
shell: bash

- name: Commit changes
uses: EndBug/add-and-commit@v9.0.0
uses: EndBug/add-and-commit@v9.1.3
with:
add: 'netbox docs'
author_name: smutel
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
go: [ '1.20.x' ]
steps:
- name: Check conventional commits in PR
uses: Namchee/conventional-pr@v0.12.1
uses: Namchee/conventional-pr@v0.13.0
with:
access_token: ${{ secrets.github_token }}
close: false
strict: false

- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v3.5.3
with:
fetch-depth: 0

- name: Lint
uses: reviewdog/action-golangci-lint@v2.1.3
uses: reviewdog/action-golangci-lint@v2.3.3
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yml"
Expand All @@ -40,7 +40,7 @@ jobs:
shell: bash

- name: Go installation
uses: actions/setup-go@v3.1.0
uses: actions/setup-go@v4.0.1
with:
go-version: ${{ matrix.go }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
go: [ '1.20.x' ]
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v3.5.3
with:
fetch-depth: 0

- name: Go installation
uses: actions/setup-go@v3.1.0
uses: actions/setup-go@v4.0.1
with:
go-version: ${{ matrix.go }}

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4.4.0
uses: crazy-max/ghaction-import-gpg@v5.3.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
Expand All @@ -39,7 +39,7 @@ jobs:
run: ./utils/getChangelogRelease CHANGELOG.md ${{ steps.tag.outputs.tag }} > /tmp/RELEASE_CHANGELOG.md

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2.9.1
uses: goreleaser/goreleaser-action@v4.3.0
with:
version: latest
args: release --rm-dist --release-notes "/tmp/RELEASE_CHANGELOG.md"
Expand Down

0 comments on commit bf5c1b8

Please sign in to comment.