Skip to content

Commit

Permalink
Consolidate CI test jobs
Browse files Browse the repository at this point in the history
test: Consolidate CI test jobs
test: Add commitlint
fix: Update pull depth of checkout for conventional changelog
fix: Add checkout step to commitlint
chore: consolidate golangci-lint and commitlint
  • Loading branch information
elliotwms authored Dec 12, 2021
1 parent fb2d554 commit 6ae3460
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Commit Linter
uses: wagoid/[email protected]
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
skip-commit: "true"
skip-on-empty: "true"
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
- name: commitlint
uses: wagoid/[email protected]

0 comments on commit 6ae3460

Please sign in to comment.