Skip to content

Commit

Permalink
chore(ribir): 🤖 update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Adoo committed Mar 26, 2024
1 parent 67af33d commit e883191
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alpha-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
level: 'alpha'
ref: ${{ github.ref }}
merge_changelog: false
toolchain: nightly-2023-10-15
toolchain: stable
secrets:
CRATE_RELEASE_TOKEN: ${{ secrets.CRATE_RELEASE_TOKEN }}
GITHUB_RELEASE_TOKEN: ${{ secrets.RIBIR_RELEASE }}
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2023-10-15
# we use nightly for clippy and rustfmt
toolchain: nightly-2024-03-25
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: format style check
Expand All @@ -43,7 +44,7 @@ jobs:
uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2023-10-15
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: build ribir
run: cargo build
Expand All @@ -52,4 +53,4 @@ jobs:
{
echo ./README.md
find "./docs" -name "*.md"
} | xargs -I {} rustdoc -Z unstable-options --test --no-run {} -L target/debug/deps/ --edition 2018 --extern ribir=target/debug/libribir.rlib
} | xargs -I {} rustdoc --test {} -L target/debug/deps/ --edition 2018 --extern ribir=target/debug/libribir.rlib
2 changes: 1 addition & 1 deletion .github/workflows/new-dev-cycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
level: 'beta'
ref: ${{ github.ref }}
merge_changelog: true
toolchain: nightly-2023-10-15
toolchain: stable
secrets:
CRATE_RELEASE_TOKEN: ${{ secrets.CRATE_RELEASE_TOKEN }}
GITHUB_RELEASE_TOKEN: ${{ secrets.RIBIR_RELEASE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patch-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
level: ${{ needs.release_level.outputs.level }}
ref: ${{ github.ref }}
merge_changelog: ${{ needs.release_level.outputs.level == 'patch' }}
toolchain: nightly-2023-10-15
toolchain: stable
secrets:
CRATE_RELEASE_TOKEN: ${{ secrets.CRATE_RELEASE_TOKEN }}
GITHUB_RELEASE_TOKEN: ${{ secrets.RIBIR_RELEASE }}
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ A simple example of a counter:
<td style="padding:10px">
<div>

``` rust
``` rust no_run
use ribir::prelude::*;
fn main() {
let counter = fn_widget! {
Expand All @@ -66,7 +66,7 @@ fn main() {

**To use Ribir without DSL**:

```rust
```rust no_run
use ribir::prelude::*;

fn main() {
Expand Down

0 comments on commit e883191

Please sign in to comment.