Skip to content

Commit

Permalink
chore: add actionlint to Makefile and semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey committed Sep 25, 2024
1 parent 92a00a6 commit f25d3c2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Semantic Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Semantic Release
# Work around for non npm project
# REF: https://github.com/cycjimmy/semantic-release-action/issues/115#issuecomment-1817264419

Check failure on line 16 in .github/workflows/semantic_release.yml

View workflow job for this annotation

GitHub Actions / lint / yamllint

16:81 [line-length] line too long (101 > 80 characters)
run: echo '{"branches":[],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github"]}' > .releaserc.json

Check failure on line 17 in .github/workflows/semantic_release.yml

View workflow job for this annotation

GitHub Actions / lint / yamllint

17:81 [line-length] line too long (172 > 80 characters)
- name: Create Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branches: |
["main"]
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ lint: vet
@hadolint docker/mockserv.Dockerfile
@echo "--> Running yamllint"
@yamllint --no-warnings . -c .yamllint.yml
@echo "--> Running actionlint"
@actionlint

.PHONY: lint

Expand Down

0 comments on commit f25d3c2

Please sign in to comment.