-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2144 from CosmWasm/github-check-workspace
Add workspace check on merge commit
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
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
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: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
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 | ||
|
||
test-workspace: | ||
name: Test 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 | ||
components: rustfmt | ||
- name: Test workspace | ||
run: ./devtools/test_workspace.sh |