Skip to content

Commit ff3d2dd

Browse files
authored
Update ci.yml
1 parent dd5fc93 commit ff3d2dd

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
env:
3939
NETCOREHOST_TEST_NETCORE_VERSION: net${{ matrix.dotnet }}
4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v6
4242

4343
- name: Uninstall .NET SDKs
4444
run: ./.github/scripts/uninstall-dotnet-${{ matrix.os }}
@@ -52,7 +52,7 @@ jobs:
5252
run: dotnet --info
5353

5454
- name: Install latest ${{ matrix.toolchain }}
55-
uses: dtolnay/rust-toolchain@stable
55+
uses: dtolnay/rust-toolchain@master
5656
with:
5757
target: ${{ matrix.target }}
5858
toolchain: ${{ matrix.toolchain }}
@@ -74,10 +74,10 @@ jobs:
7474
target: ["aarch64-unknown-linux-gnu", "armv7-unknown-linux-gnueabihf"]
7575

7676
steps:
77-
- uses: actions/checkout@v4
77+
- uses: actions/checkout@v6
7878

7979
- name: Install latest ${{ matrix.toolchain }}
80-
uses: dtolnay/rust-toolchain@stable
80+
uses: dtolnay/rust-toolchain@master
8181
with:
8282
target: ${{ matrix.target }}
8383
toolchain: ${{ matrix.toolchain }}
@@ -96,9 +96,9 @@ jobs:
9696
toolchain: ["beta"]
9797
example: ["run-app", "run-app-with-args", "call-managed-function", "passing-parameters", "return-string-from-managed"]
9898
steps:
99-
- uses: actions/checkout@v4
99+
- uses: actions/checkout@v6
100100
- name: Install latest ${{ matrix.toolchain }}
101-
uses: dtolnay/rust-toolchain@stable
101+
uses: dtolnay/rust-toolchain@master
102102
with:
103103
toolchain: ${{ matrix.toolchain }}
104104
- name: Build .NET project for '${{ matrix.example }}'
@@ -115,11 +115,9 @@ jobs:
115115
- os: ubuntu
116116
- os: windows
117117
steps:
118-
- uses: actions/checkout@v4
118+
- uses: actions/checkout@v6
119119
- name: Install latest nightly
120-
uses: dtolnay/rust-toolchain@stable
121-
with:
122-
toolchain: nightly
120+
uses: dtolnay/rust-toolchain@nightly
123121
- name: Generate documentation
124122
run: cargo doc --all-features
125123
- name: Install cargo-deadlinks
@@ -135,12 +133,11 @@ jobs:
135133
- os: ubuntu
136134
- os: windows
137135
steps:
138-
- uses: actions/checkout@v4
136+
- uses: actions/checkout@v6
139137
- name: Install latest nightly
140-
uses: dtolnay/rust-toolchain@stable
138+
uses: dtolnay/rust-toolchain@nightly
141139
with:
142-
toolchain: nightly
143-
components: clippy
140+
components: clippy
144141

145142
- name: Clippy check
146143
run: cargo clippy --all-features
@@ -153,11 +150,10 @@ jobs:
153150
- os: ubuntu
154151
- os: windows
155152
steps:
156-
- uses: actions/checkout@v4
153+
- uses: actions/checkout@v6
157154
- name: Install latest nightly
158-
uses: dtolnay/rust-toolchain@stable
155+
uses: dtolnay/rust-toolchain@nightly
159156
with:
160-
toolchain: nightly
161157
components: rustfmt
162158

163159
- name: Format check

0 commit comments

Comments
 (0)