Skip to content

Commit

Permalink
chore: auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Becher authored and Armin Becher committed Jan 22, 2025
1 parent 4c98619 commit e3c127f
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

env:
CARGO_TERM_COLOR: always
Expand All @@ -20,16 +20,25 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run test
run: cargo test --verbose
- name: Run test release
run: cargo test --verbose --release
- uses: actions/checkout@v3
- name: Run test
run: cargo test --verbose
- name: Run test release
run: cargo test --verbose --release
test-no-default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run test
run: cargo test --verbose --no-default-features
- name: Run test release
run: cargo test --verbose --release --no-default-features
- uses: actions/checkout@v3
- name: Run test
run: cargo test --verbose --no-default-features
- name: Run test release
run: cargo test --verbose --release --no-default-features
release:
runs-on: ubuntu-latest
needs: [test, test-no-default]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit e3c127f

Please sign in to comment.