Skip to content

Commit

Permalink
Add workspace check on merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed May 18, 2024
1 parent a35b018 commit c1247d7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Contract Development
name: Contract

# Pushes to long living branches and all PRs
on:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Workspace

# Check workspace build on merge commit of all PRs.
# Branches are checked better by CircleCI.
on:
pull_request:

env:
RUST_BACKTRACE: 1

jobs:
check-workspace:
name: Check workspace
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.73.0
targets: wasm32-unknown-unknown
components: clippy, rustfmt
- name: Check workspace
run: ./devtools/check_workspace.sh

0 comments on commit c1247d7

Please sign in to comment.