-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from smutel/UpdateCi
ci: Update github action modules
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
go: [ '1.16.x' ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
|
||
- name: Unshallow | ||
run: git fetch --prune --unshallow | ||
|
@@ -38,13 +38,13 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Go fmt | ||
run: | | ||
cd "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/terraform-provider-netbox" | ||
go fmt netbox/* | ||
shell: bash | ||
|
||
- name: Commit changes | ||
uses: EndBug/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,17 @@ jobs: | |
go: [ '1.16.x' ] | ||
steps: | ||
- name: Check conventional commits in PR | ||
uses: Namchee/conventional-pr@master | ||
uses: Namchee/conventional-pr@v0.6.0 | ||
with: | ||
access_token: ${{ secrets.github_token }} | ||
label: "no-conventional-commits" | ||
close: false | ||
template: "Thank you for your contribution attempt in this repository!\n\nUnfortunately, this pull request doesn't meet our standards by reason we stated below.\nFor future pull requests, please use conventional commits.\nPlease update the commits in this PR with conventional commits rules." | ||
strict: false | ||
strict: true | ||
link_issue: false | ||
|
||
- name: Checkout | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
|
||
- name: Unshallow | ||
run: git fetch --prune --unshallow | ||
|
@@ -47,7 +47,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Build | ||
run: | | ||
cd "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/terraform-provider-netbox" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
go: [ '1.16.x' ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
|
||
- name: Unshallow | ||
run: git fetch --prune --unshallow | ||
|
@@ -27,7 +27,7 @@ jobs: | |
|
||
- name: Import GPG key | ||
id: import_gpg | ||
uses: crazy-max/ghaction-import-gpg@v4.0.0 | ||
uses: crazy-max/ghaction-import-gpg@v4.1.0 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.PASSPHRASE }} | ||
|
@@ -40,7 +40,7 @@ jobs: | |
run: ./utils/getChangelogRelease CHANGELOG.md ${{ steps.tag.outputs.tag }} > /tmp/RELEASE_CHANGELOG.md | ||
|
||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2.4.1 | ||
uses: goreleaser/goreleaser-action@v2.8.0 | ||
with: | ||
version: latest | ||
args: release --rm-dist --release-notes=/tmp/RELEASE_CHANGELOG.md | ||
|