add getAccountInfo, getNonce RPCs and decoder for NonceAccountData #118
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: 'Pull Request Build' | |
concurrency: | |
group: ${{ github.event.branch }}-${{ github.event.number }} | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review, labeled ] | |
branches: | |
- main | |
permissions: | |
pull-requests: write | |
deployments: write | |
checks: write | |
statuses: write | |
contents: write | |
jobs: | |
build: | |
if: ${{ !github.event.pull_request.draft }} | |
name: Build Project | |
runs-on: macos-14 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '18' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Cache konan | |
uses: actions/cache@v4 | |
with: | |
path: ~/.konan | |
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-konan- | |
- name: Run tests | |
run: ./gradlew check | |
- name: Build packages | |
run: ./gradlew -PsignPublications=false publishToMavenLocal | |
- name: Bundle the failed build report | |
if: failure() | |
run: find ./build -type d -name 'reports' | zip -@ -r build-reports.zip | |
- name: Upload the failed build report | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: error-report | |
path: build-reports.zip | |
retention-days: 7 |