🔬 @acodeninja is checking quality on 21/merge #73
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
name: 🔬 quality checks | |
run-name: 🔬 @${{ github.triggering_actor }} is checking quality on ${{ github.ref_name }} | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
name: 🧹 lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: asdf-vm/actions/install@v3 | |
- run: make init | |
- run: make lint | |
test-with-coverage: | |
name: 🧪 test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: asdf-vm/actions/install@v3 | |
- run: make init | |
- run: make test/coverage/report | |
- run: curl https://deepsource.io/cli | sh | |
- name: deepsource report | |
env: | |
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }} | |
run: | | |
./bin/deepsource report \ | |
--analyzer test-coverage \ | |
--key javascript \ | |
--value-file "$(realpath ./coverage/lcov.info)" |