Skip to content

Commit c1247d7

Browse files
committed
Add workspace check on merge commit
1 parent a35b018 commit c1247d7

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/ci.yml renamed to .github/workflows/contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Contract Development
1+
name: Contract
22

33
# Pushes to long living branches and all PRs
44
on:

.github/workflows/workspace.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Workspace
2+
3+
# Check workspace build on merge commit of all PRs.
4+
# Branches are checked better by CircleCI.
5+
on:
6+
pull_request:
7+
8+
env:
9+
RUST_BACKTRACE: 1
10+
11+
jobs:
12+
check-workspace:
13+
name: Check workspace
14+
runs-on: ubuntu-24.04
15+
steps:
16+
- name: Checkout sources
17+
uses: actions/checkout@v4
18+
- name: Install Rust
19+
uses: dtolnay/rust-toolchain@master
20+
with:
21+
toolchain: 1.73.0
22+
targets: wasm32-unknown-unknown
23+
components: clippy, rustfmt
24+
- name: Check workspace
25+
run: ./devtools/check_workspace.sh

0 commit comments

Comments
 (0)