File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
strategy :
13
13
matrix :
14
- rust-version : stable
14
+ rust-version : [ stable]
15
15
16
16
steps :
17
17
# Step 1: Checkout Code
@@ -46,13 +46,13 @@ jobs:
46
46
restore-keys : |
47
47
${{ runner.os }}-cargo-build-
48
48
49
- # Step 5: Set up Rust Toolchain
49
+ # Step 5: Set up Rust Toolchain using rust-lang/setup-rust@v1
50
50
- name : Set up Rust
51
- uses : actions-rs/toolchain @v1
51
+ uses : rust-lang/setup-rust @v1
52
52
with :
53
- toolchain : ${{ matrix.rust-version }}
54
- components : rustfmt clippy
55
- override : true
53
+ rust-version : ${{ matrix.rust-version }} # Specifies Rust version from the matrix
54
+ components : rustfmt, clippy # Components are now comma-separated
55
+ default : true # Sets this toolchain as default
56
56
57
57
# Step 6: Run Clippy
58
58
- name : Run Clippy
78
78
run : |
79
79
cargo install cargo-deny
80
80
cargo deny check
81
-
82
- # # Step X: Deploy Documentation to GitHub Pages (Optional)
83
- # - name: Deploy to GitHub Pages
84
- # if: github.ref == 'refs/heads/main' && github.event_name == 'push'
85
- # uses: peaceiris/actions-gh-pages@v3
86
- # with:
87
- # github_token: ${{ secrets.GITHUB_TOKEN }}
88
- # publish_dir: ./target/doc
Original file line number Diff line number Diff line change
1
+ name : release-please
2
+
1
3
on :
2
4
push :
3
5
branches :
@@ -7,8 +9,6 @@ permissions:
7
9
contents : write
8
10
pull-requests : write
9
11
10
- name : release-please
11
-
12
12
jobs :
13
13
release-please :
14
14
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments