Skip to content

Commit

Permalink
added qodana for pulls
Browse files Browse the repository at this point in the history
  • Loading branch information
Keloran committed Feb 8, 2024
1 parent e5d316f commit e4e2e61
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ jobs:
fetch-depth: 1
- name: test
run: go test -v -race -bench=./... -benchmem -timeout=120s -bench=./... ./...
qodana:
runs-on: ubuntu-latest
needs:
- test
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
automerge:
needs:
- test
Expand Down

0 comments on commit e4e2e61

Please sign in to comment.