Skip to content

Commit

Permalink
Merge pull request #2144 from CosmWasm/github-check-workspace
Browse files Browse the repository at this point in the history
Add workspace check on merge commit
  • Loading branch information
webmaster128 authored May 21, 2024
2 parents a35b018 + eca0e37 commit 6263034
Show file tree
Hide file tree
Showing 2 changed files with 40 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
39 changes: 39 additions & 0 deletions .github/workflows/workspace.yml
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

0 comments on commit 6263034

Please sign in to comment.