Bump regclient/actions from 4d6888fcc4842c9630f60ebc91715a45dd9bd7a3 to 4b4db1dcc7dad75ad67a788a380f75a20cc8a040 #3943
Workflow file for this run
This file contains hidden or 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: Check PR | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: check-pr-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| checks: write | |
| jobs: | |
| check-pr: | |
| name: Check PR | |
| runs-on: ubuntu-latest | |
| outputs: | |
| lang-changed: ${{ steps.filter.outputs.lang == 'true' }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'sbt' | |
| gpg-private-key: ${{ secrets.OSSRH_GPG_KEY }} | |
| gpg-passphrase: ${{ secrets.OSSRH_GPG_PASSPHRASE }} | |
| - uses: sbt/setup-sbt@3afe9cf056c5d139bfc46579af1192d77a2f0821 # v1.4.0 | |
| - uses: proudust/gh-describe@d2398810d922ababf1ec0efb454e42953dfdc460 # v2.1.2 | |
| id: ghd | |
| - name: Check PR | |
| run: sbt -Dproject.version=$(echo ${{ steps.ghd.outputs.describe }} | cut -c 2-) -J-Xlog:gc*=debug:file=./gc.log --batch checkPR | |
| - uses: ScalableCapital/action-surefire-report@1e92f48016e566e4eed2d81560edbfe0f524cfb7 # v2.0.3 | |
| if: always() | |
| with: | |
| report_paths: '**/target/test-reports/*.xml' | |
| create_check: false | |
| check_name: 'Check PR' | |
| - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | |
| id: filter | |
| with: | |
| filters: | | |
| lang: | |
| - 'lang/**' | |
| - 'build.sbt' | |
| - 'project/*' | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: waves-all | |
| path: node/target/waves-all-*.jar | |
| - name: Save debug data | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: always() | |
| with: | |
| if-no-files-found: ignore | |
| name: debug-data | |
| path: | | |
| gc.log* | |
| hs*.log | |
| core* | |
| run-smoke-tests: | |
| needs: check-pr | |
| name: Run Smoke Tests ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-15-intel, macos-15, ubuntu-24.04, ubuntu-24.04-arm, windows-2022] | |
| steps: | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # 8.0.1 | |
| with: | |
| name: waves-all | |
| - run: java -cp '*' com.wavesplatform.utils.UtilApp smoke | |
| compile-contracts: | |
| name: Compile ${{ matrix.repo }} | |
| runs-on: ubuntu-latest | |
| needs: check-pr | |
| if: needs.check-pr.outputs.lang-changed == 'true' | |
| strategy: | |
| matrix: | |
| repo: | |
| - waves-exchange/neutrino-contract | |
| - waves-exchange/contracts | |
| - waves-ducks-core/wavesducks-public | |
| - swopfi/swopfi-smart-contracts | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| repository: ${{ matrix.repo }} | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # 8.0.1 | |
| with: | |
| name: waves-all | |
| - run: find -name "*.ride" -type f -exec java -cp '*' com.wavesplatform.lang.FileCompiler {} +; | |
| run-integration-tests: | |
| name: Run integration tests | |
| # needs: check-pr | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@3afe9cf056c5d139bfc46579af1192d77a2f0821 # v1.4.0 | |
| - name: Run Integration Tests | |
| run: sbt --batch "node-it/docker;node-it/test" | |
| env: | |
| RUN_ID: ${{ github.head_ref }}-${{ github.run_number }}-${{ github.run_attempt }} | |
| - uses: ScalableCapital/action-surefire-report@1e92f48016e566e4eed2d81560edbfe0f524cfb7 # v2.0.3 | |
| if: always() | |
| with: | |
| report_paths: '**/target/test-reports/*.xml' | |
| create_check: false | |
| check_name: 'Run integration tests' | |
| - name: Upload Logs | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: always() | |
| with: | |
| if-no-files-found: ignore | |
| name: test-logs | |
| path: | | |
| node-it/target/logs/*/ | |
| node-it/target/test-reports | |
| publish-snapshots: | |
| name: Publish snapshot packages | |
| needs: check-pr | |
| runs-on: ubuntu-latest | |
| if: contains(github.event.pull_request.labels.*.name, 'publish-snapshots') | |
| env: | |
| PR_NUMBER: ${{ github.event.number }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'sbt' | |
| gpg-private-key: ${{ secrets.OSSRH_GPG_KEY }} | |
| gpg-passphrase: ${{ secrets.OSSRH_GPG_PASSPHRASE }} | |
| - uses: sbt/setup-sbt@3afe9cf056c5d139bfc46579af1192d77a2f0821 # v1.4.0 | |
| - run: sbt -Dproject.version=$(awk -F '[".]' '{print $3"."$4"."$5+1}' version.sbt)-$PR_NUMBER-SNAPSHOT --batch publish | |
| env: | |
| SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
| SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
| PGP_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }} |