@@ -33,13 +33,13 @@ jobs:
33
33
- uses : actions/checkout@v5
34
34
with :
35
35
persist-credentials : false
36
- - uses : dtolnay/rust-toolchain@stable
36
+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
37
37
with :
38
38
toolchain : ${{ matrix.rust }}
39
39
# Only run tests on latest stable and above
40
40
- name : Install cargo-nextest
41
41
if : ${{ matrix.rust != '1.88' }} # MSRV
42
- uses : taiki-e/install-action@nextest
42
+ uses : taiki-e/install-action@de179ea33fa5f5c434a81563f0e8a1c4f7ab8fe2 # nextest
43
43
- name : build
44
44
if : ${{ matrix.rust == '1.88' }} # MSRV
45
45
run : cargo build --workspace ${{ matrix.flags }}
54
54
- uses : actions/checkout@v5
55
55
with :
56
56
persist-credentials : false
57
- - uses : dtolnay/rust-toolchain@stable
58
- - uses : Swatinem/rust-cache@v2
57
+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
58
+ with :
59
+ toolchain : stable
60
+ - uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
59
61
with :
60
62
cache-on-failure : true
61
63
- run : cargo test --workspace --doc
68
70
- uses : actions/checkout@v5
69
71
with :
70
72
persist-credentials : false
71
- - uses : dtolnay/rust-toolchain@stable
72
- - uses : taiki-e/install-action@cargo-hack
73
- - uses : Swatinem/rust-cache@v2
73
+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
74
+ with :
75
+ toolchain : stable
76
+ - uses : taiki-e/install-action@c9a06c0e5d38d182732372ae4390adb6ddbfd51b # cargo-hack
77
+ - uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
74
78
with :
75
79
cache-on-failure : true
76
80
- name : cargo hack
83
87
- uses : actions/checkout@v5
84
88
with :
85
89
persist-credentials : false
86
- - uses : dtolnay/rust-toolchain@clippy
87
- - uses : Swatinem/rust-cache@v2
90
+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
91
+ with :
92
+ toolchain : nightly
93
+ components : clippy
94
+ - uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
88
95
with :
89
96
cache-on-failure : true
90
97
- run : cargo clippy --workspace --all-targets --all-features
@@ -98,8 +105,10 @@ jobs:
98
105
- uses : actions/checkout@v5
99
106
with :
100
107
persist-credentials : false
101
- - uses : dtolnay/rust-toolchain@nightly
102
- - uses : Swatinem/rust-cache@v2
108
+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
109
+ with :
110
+ toolchain : nightly
111
+ - uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
103
112
with :
104
113
cache-on-failure : true
105
114
- run : cargo doc --workspace --all-features --no-deps --document-private-items
@@ -113,13 +122,14 @@ jobs:
113
122
- uses : actions/checkout@v5
114
123
with :
115
124
persist-credentials : false
116
- - uses : dtolnay/rust-toolchain@nightly
125
+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
117
126
with :
127
+ toolchain : nightly
118
128
components : rustfmt
119
129
- run : cargo fmt --all --check
120
130
121
131
deny :
122
- uses : ithacaxyz/ci/.github/workflows/deny.yml@main
132
+ uses : ithacaxyz/ci/.github/workflows/deny.yml@9c8d0dc20e7ad02455d3fdab2378a05f29907630 # main
123
133
124
134
ci-success :
125
135
runs-on : ubuntu-latest
@@ -136,6 +146,6 @@ jobs:
136
146
timeout-minutes : 30
137
147
steps :
138
148
- name : Decide whether the needed jobs succeeded or failed
139
- uses : re-actors/alls-green@release/v1
149
+ uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
140
150
with :
141
151
jobs : ${{ toJSON(needs) }}
0 commit comments