Skip to content

Commit

Permalink
moved qodana
Browse files Browse the repository at this point in the history
  • Loading branch information
Keloran committed Nov 29, 2023
1 parent 4d4a8c5 commit 743eea8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,27 @@ on:
- main

jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
needs:
- test
steps:
- uses: actions/checkout@v3
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 }}
update_release_draft:
runs-on: ubuntu-latest
needs:
- qodana
steps:
- uses: release-drafter/release-drafter@v5
env:
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/pulls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,6 @@ jobs:
fetch-depth: 1
- name: test
run: go test -v -race -bench=./... -benchmem -timeout=120s -bench=./... ./...
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
needs:
- test
steps:
- uses: actions/checkout@v3
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:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 743eea8

Please sign in to comment.