feat: add reactions (#1074)

This commit is contained in:
Jonas Plum
2024-07-20 06:39:02 +02:00
committed by GitHub
parent 82ad50d228
commit e2c8f1d223
78 changed files with 3270 additions and 257 deletions

View File

@@ -5,6 +5,22 @@ on:
release: { types: [ published ] }
jobs:
fmt:
name: Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: '1.22' }
- uses: oven-sh/setup-bun@v1
- run: make build-ui
- run: make install
- run: make fmt
- run: git diff --exit-code
lint:
name: Lint
runs-on: ubuntu-latest
@@ -31,3 +47,10 @@ jobs:
- run: make build-ui
- run: make test
- run: make test-coverage
- uses: codecov/codecov-action@v4
with:
files: ./coverage.out
token: ${{ secrets.CODECOV_TOKEN }}

View File

@@ -20,6 +20,6 @@ jobs:
with:
scopes: |
deps
subjectPattern: "^(?!deps$).+"
subjectPattern: ^(?![A-Z]).+$
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}