Skip to content

feat(wallet): wrap apply_block_events, apply_block_connected_to_events, apply_evicted_txs, checkpoints #111

feat(wallet): wrap apply_block_events, apply_block_connected_to_events, apply_evicted_txs, checkpoints

feat(wallet): wrap apply_block_events, apply_block_connected_to_events, apply_evicted_txs, checkpoints #111

Workflow file for this run

name: Main
on:
push:
branches: [main]
pull_request:
jobs:
check-workflows:
name: Check workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Download actionlint
id: download-actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/393031adb9afb225ee52ae2ccd7a5af5525e03e8/scripts/download-actionlint.bash) 1.7.11
shell: bash
- name: Check workflow files
run: ${{ steps.download-actionlint.outputs.executable }} -color
shell: bash
build-lint-test:
name: Build, lint, and test
uses: ./.github/workflows/build-lint-test.yml
all-jobs-completed:
name: All jobs completed
runs-on: ubuntu-latest
needs:
- check-workflows
- build-lint-test
outputs:
PASSED: ${{ steps.set-output.outputs.PASSED }}
steps:
- name: Set PASSED output
id: set-output
run: echo "PASSED=true" >> "$GITHUB_OUTPUT"
all-jobs-pass:
name: All jobs pass
if: ${{ always() }}
runs-on: ubuntu-latest
needs: all-jobs-completed
steps:
- name: Check that all jobs have passed
run: |
passed="${{ needs.all-jobs-completed.outputs.PASSED }}"
if [[ $passed != "true" ]]; then
exit 1
fi
is-release:
needs: all-jobs-pass
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Check if release
uses: ./.github/workflows/check-is-release.yml
publish-release:
needs: is-release
if: needs.is-release.outputs.IS_RELEASE == 'true'
name: Publish release
permissions:
contents: write
id-token: write
uses: ./.github/workflows/publish-release.yml