Skip to content

Commit

Permalink
chore(conf): disable example by default (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Totodore authored Jan 25, 2024
1 parent b7e3402 commit 82b4394
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo test --tests --all-features
- run: cargo test --tests --all-features --workspace

udeps:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main
paths:
- "**/Cargo.toml"
- "Cargo.toml"
- ".github/workflows/release.yml"

jobs:
Expand All @@ -25,6 +25,10 @@ jobs:
- name: Check published version
run: echo PREV_VERSION=$(cargo search salvo --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -) >> $GITHUB_ENV

- name: Cancel run
if: env.NEXT_VERSION == env.PREV_VERSION
uses: andymckay/cancel-action@0.3

- name: Auto tag latest version
uses: bullrich/commit-autotag@main
if: env.NEXT_VERSION != env.PREV_VERSION
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ license = "MIT"

[workspace]
members = ["engineioxide", "socketioxide", "e2e/*", "examples/*"]
default-members = ["engineioxide", "socketioxide"]
resolver = "2"

[workspace.dependencies]
Expand Down

0 comments on commit 82b4394

Please sign in to comment.