mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-22 15:54:31 +00:00
Upgrade GitHub workflows
This commit is contained in:
parent
7a94d5ee6a
commit
f3f4f7dfb1
3 changed files with 1 additions and 54 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
|||
include-hidden-files: true
|
||||
name: cached-localnet
|
||||
path: .localnet
|
||||
overwrite: true
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
run: |
|
||||
|
|
29
.github/workflows/codacy-code-reporter.yml
vendored
29
.github/workflows/codacy-code-reporter.yml
vendored
|
@ -1,29 +0,0 @@
|
|||
name: Codacy Coverage Reporter
|
||||
|
||||
on: ["push"]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository == 'haveno-dex/haveno'
|
||||
name: Publish coverage
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean build -x checkstyleMain -x checkstyleTest -x shadowJar
|
||||
|
||||
- name: Run codacy coverage reporter
|
||||
uses: codacy/codacy-coverage-reporter-action@v1.3.0
|
||||
with:
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
coverage-reports: ${{ github.workspace }}/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml
|
25
.github/workflows/label.yml
vendored
25
.github/workflows/label.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: Comment to label
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
issueLabeled:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Bounty explanation
|
||||
uses: peter-evans/create-or-update-comment@v3
|
||||
if: github.event.label.name == '💰bounty'
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
body: >
|
||||
There is a bounty on this issue. The amount is in the title. The reward will be awarded to the first person or group of people whose solution is accepted and merged.
|
||||
|
||||
|
||||
In some cases, we may assign the issue to specific contributors. We expect contributors to provide a PR in a reasonable time frame or, in case of an extensive work, updates on their progress. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task.
|
||||
|
||||
|
||||
Read the [full conditions and details](https://github.com/haveno-dex/haveno/blob/master/docs/bounties.md) of our bounty system.
|
Loading…
Reference in a new issue