Skip to content

Commit

Permalink
fixing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixSenpai committed Mar 4, 2024
1 parent 56a7cd6 commit 32a4ba3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/rust_pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
run: cargo check
- name: Run tests
run: cargo test --verbose --all --all-features
- name: Lint publish
run: cargo publish --dry-run --color always --all-features --frozen --locked
- name: Lint publish Cargo Generator
run: cargo publish --dry-run --color always --all-features --frozen --locked --package cargo-openapi
- name: Lint publish Core
run: cargo publish --dry-run --color always --all-features --frozen --locked --package sw4rm-rs
- name: Lint publish Generator
run: cargo publish --dry-run --color always --all-features --frozen --locked --package sw4rm-rs-generation

bump:
runs-on: ubuntu-latest
Expand All @@ -33,13 +37,13 @@ jobs:

- name: Bump Cargo Runner Version
run: cargo bump minor
working-directory: ./cargo-openapi-generator
working-directory: cargo-openapi-generator
- name: Bump Cargo Core Version
run: cargo bump minor
working-directory: ./core
working-directory: core
- name: Bump Generator Version
run: cargo bump minor
working-directory: ./generator
working-directory: generator

- name: Push new version
run: git push

0 comments on commit 32a4ba3

Please sign in to comment.