6
6
- ' *'
7
7
pull_request_target :
8
8
types :
9
- - edited
10
9
- opened
11
10
- reopened
12
11
- synchronize
@@ -28,18 +27,22 @@ jobs:
28
27
- { pkg: linux-source-6.2.0 , alias: 6.2 , feature: linux-6.0 }
29
28
- { pkg: linux-source-6.5.0 , alias: 6.5 , feature: linux-6.3 }
30
29
30
+ env :
31
+ SCCACHE_GHA_ENABLED : " true"
32
+ RUSTC_WRAPPER : " sccache"
33
+
31
34
steps :
32
35
- name : Checkout
33
- uses : actions/checkout@v3
36
+ uses : actions/checkout@v4
34
37
with :
35
38
ref : ${{ github.event.pull_request.head.sha }}
36
39
37
40
- name : Setup Rust toolchain
38
- uses : actions-rs/toolchain@v1
41
+ uses : actions-rs/toolchain@v2
39
42
with :
40
43
profile : minimal
41
44
override : true
42
- toolchain : 1.75.0
45
+ toolchain : 1.85
43
46
components : rustfmt, clippy
44
47
45
48
- name : Show environment information
@@ -51,13 +54,13 @@ jobs:
51
54
rustc -V
52
55
uname -a
53
56
54
- - name : Setup Rust cache
55
- uses : Swatinem/rust-cache@v2
57
+ - name : Setup build cache
58
+ uses :
mozilla-actions/[email protected]
56
59
with :
57
- prefix-key : ${{ matrix.target.alias }}
60
+ version : ' v0.10.0 '
58
61
59
62
- name : Cache APT packages
60
- uses : awalsh128/cache-apt-pkgs-action@v1.3.1
63
+ uses : awalsh128/cache-apt-pkgs-action@latest
61
64
with :
62
65
packages : musl-tools ${{ matrix.linux-source.pkg }}
63
66
version : 1.0
@@ -105,4 +108,4 @@ jobs:
105
108
env :
106
109
LINUX_HEADERS_PATH : ${{ github.workspace }}/linux-headers
107
110
108
- # TODO: Some tests will fail in GitHub Actions environment
111
+ # TODO: Some tests will fail in GitHub Actions environment
0 commit comments