test(ethexe): Introduce two-step Service
run
#4587
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: PR | |
on: | |
pull_request: | |
branches: [master] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: short | |
TERM: xterm-256color | |
BINARYEN_VERSION: version_111 | |
jobs: | |
status: | |
runs-on: ubuntu-latest | |
outputs: | |
build: ${{ steps.config.outputs.build }} | |
check: ${{ steps.config.outputs.check }} | |
win-native: ${{ steps.config.outputs.win-native }} | |
macos: ${{ steps.config.outputs.macos }} | |
validator: ${{ steps.config.outputs.validator }} | |
check-node-sync: ${{ steps.config.outputs.check-node-sync }} | |
release: ${{ steps.config.outputs.release }} | |
production: ${{ steps.config.outputs.production }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- run: npm install | |
working-directory: .github/actions/message | |
- name: Configure | |
id: config | |
uses: ./.github/actions/message | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
docs: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
env: | |
RUSTUP_HOME: /tmp/rustup_home | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/docs | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
check: | |
needs: status | |
if: ${{ needs.status.outputs.check == 'true' }} | |
uses: ./.github/workflows/check.yml | |
build: | |
needs: status | |
if: ${{ needs.status.outputs.build == 'true' }} | |
uses: ./.github/workflows/build.yml | |
with: | |
macos: ${{ needs.status.outputs.macos == 'true' }} | |
win-native: ${{ needs.status.outputs.win-native == 'true' }} | |
release: ${{ needs.status.outputs.release == 'true' }} | |
production: ${{ needs.status.outputs.production == 'true' }} | |
validator: | |
needs: status | |
if: ${{ needs.status.outputs.validator == 'true' }} | |
uses: ./.github/workflows/validation.yml | |
secrets: | |
VARA_VALIDATOR_8: ${{ secrets.VARA_VALIDATOR_8 }} | |
SSH_VARA_USERNAME: ${{ secrets.SSH_VARA_USERNAME }} | |
VARA_SSH_PRIVATE_KEY: ${{ secrets.VARA_SSH_PRIVATE_KEY }} | |
check-node-sync: | |
needs: status | |
if: ${{ needs.status.outputs.check-node-sync == 'true' }} | |
uses: ./.github/workflows/check-node-sync.yml |