Fix evm validate #3308
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: ci-build | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
if: "!contains(github.event.commits[0].message, '[skip ci]')" | |
runs-on: [self-hosted, normal] | |
steps: | |
- name: Check to latest commit | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.81.0 | |
components: rustfmt, clippy | |
target: wasm32-unknown-unknown | |
- name: Cargo check-all | |
run: | | |
make check-all | |
- name: Cargo clippy | |
run: | | |
make clippy-all | |
- name: Test All | |
run: | | |
make test-all | |
- name: Inform buddies online | |
uses: 8398a7/action-slack@v3 | |
if: always() && (github.event_name == 'pull_request' && github.event.pull_request.draft == false) | |
with: | |
status: ${{ job.status }} | |
fields: repo,author,eventName,workflow,ref,commit | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PULLREQUEST_WEBHOOK_URL }} | |
- name: clean runner workspace | |
run: | | |
rm -r * |