Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
LANGUAGETOOL_PORT: 8010
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/languagetool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check and report
uses: reviewdog/action-languagetool@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install pre-commit
run: pip install pre-commit
Expand All @@ -37,7 +37,7 @@ jobs:
if: ${{ github.event_name != 'schedule' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Rust nightly
uses: dtolnay/rust-toolchain@nightly
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout sources
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -25,13 +25,16 @@ jobs:
check-publish:
name: Check Publish
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}
if: startsWith(github.ref, 'refs/tags/v') != true
steps:
- name: Checkout sources
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Check if can publish on crates.io
run: cargo publish --token ${{ secrets.CRATES_TOKEN }} --dry-run -v
if: ${{ env.CARGO_REGISTRY_TOKEN }}
run: cargo publish --token ${{ env.CARGO_REGISTRY_TOKEN }} --dry-run -v
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/rustbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
LANGUAGETOOL_HOSTNAME: http://localhost
LANGUAGETOOL_PORT: 8010
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v1
Expand All @@ -41,6 +41,7 @@ jobs:
run: cargo codspeed build

- name: Run the benchmarks
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@v4
with:
mode: instrumentation
run: cargo codspeed run
2 changes: 1 addition & 1 deletion .github/workflows/rustcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
cargo_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: taiki-e/install-action@cargo-hack
- run: >
cargo hack check
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
name: Rustdoc

jobs:
publish:
name: Publish
rustdoc:
name: Rustdoc
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
Expand All @@ -22,4 +22,4 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Check rustdoc build
run: RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --all-features -Zunstable-options -Zrustdoc-scrape-examples
run: RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --all-features -Zunstable-options -Zrustdoc-scrape-examples --no-deps
18 changes: 1 addition & 17 deletions .github/workflows/rustlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,6 @@ on:
name: Library testing

jobs:
rustdoc:
name: Rustdoc
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Cache dependencies
uses: Swatinem/rust-cache@v2

- name: Check rustdoc build
run: RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --all-features -Zunstable-options -Zrustdoc-scrape-examples

test:
name: Test
strategy:
Expand All @@ -48,7 +32,7 @@ jobs:
LANGUAGETOOL_PORT: 8010
steps:
- name: Checkout sources
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rustmsrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
msrv_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
Loading
Loading