Skip to content

Commit

Permalink
Merge pull request #65 from smutel/UpdateCi
Browse files Browse the repository at this point in the history
ci: Update github action modules
  • Loading branch information
smutel authored Oct 26, 2021
2 parents a2d345f + a861f50 commit 04c752e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
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,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
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 04c752e

Please sign in to comment.