feat: add JavaScript extension #14
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: CI | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cashapp/activate-hermit@v1 | |
- run: | | |
find . -name go.mod | xargs -n1 dirname | while read dir; do ( | |
cd "$dir" | |
go test -v ./... | |
); done | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cashapp/activate-hermit@v1 | |
- run: | | |
find . -name go.mod | xargs -n1 dirname | while read dir; do ( | |
cd "$dir" | |
golangci-lint run | |
); done |