Skip to content

Commit 6263034

Browse files
authored
Merge pull request #2144 from CosmWasm/github-check-workspace
Add workspace check on merge commit
2 parents a35b018 + eca0e37 commit 6263034

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-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: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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
26+
27+
test-workspace:
28+
name: Test workspace
29+
runs-on: ubuntu-24.04
30+
steps:
31+
- name: Checkout sources
32+
uses: actions/checkout@v4
33+
- name: Install Rust
34+
uses: dtolnay/rust-toolchain@master
35+
with:
36+
toolchain: 1.73.0
37+
components: rustfmt
38+
- name: Test workspace
39+
run: ./devtools/test_workspace.sh

0 commit comments

Comments
 (0)