Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
survived committed Dec 15, 2023
1 parent fb0fab9 commit 6580c8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo publish --token ${CRATES_TOKEN}
- run: cargo publish
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
CARGO_NET_GIT_FETCH_WITH_CLI: true

jobs:
build-and-test:
build-no-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -18,9 +18,7 @@ jobs:
cache-on-failure: "true"
- name: Build
run: cargo build
- name: Run tests
run: cargo test --lib --tests
build-all-features:
build-and-test-all-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -29,6 +27,8 @@ jobs:
cache-on-failure: "true"
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test --all-features --lib --tests
doctest:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 6580c8a

Please sign in to comment.