Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workspace check on merge commit #2144

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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