17
17
style :
18
18
runs-on : ubuntu-22.04
19
19
steps :
20
- - uses : actions/checkout@v3
20
+ - uses : actions/checkout@v4
21
21
- name : Setup Rust
22
22
uses : ./.github/actions/setup-rust
23
23
with :
55
55
run :
56
56
shell : bash
57
57
steps :
58
- - uses : actions/checkout@v3
58
+ - uses : actions/checkout@v4
59
59
- uses : actionhippie/swap-space@v1
60
60
if : matrix.use_swap
61
61
with :
88
88
echo "$PWD/target/release" >> $GITHUB_PATH
89
89
- name : Publish release binary artifact
90
90
if : matrix.publish
91
- uses : actions/upload-artifact@v3
91
+ uses : actions/upload-artifact@v4
92
92
with :
93
93
path : target/${{ matrix.target }}/release/scryer-prolog*
94
94
name : scryer-prolog_${{ matrix.os }}_${{ matrix.target }}
99
99
needs : [build-test]
100
100
steps :
101
101
# Download prebuilt ubuntu binary from build-test job, setup logtalk
102
- - uses : actions/download-artifact@v3
102
+ - uses : actions/download-artifact@v4
103
103
with :
104
104
name : scryer-prolog_ubuntu-20.04_x86_64-unknown-linux-gnu
105
105
- run : |
@@ -123,12 +123,12 @@ jobs:
123
123
|| echo "::warning ::logtalk compliance suite failed"
124
124
# -u "https://github.com/LogtalkDotOrg/logtalk3/tree/$LOGTALK_GIT_HASH/tests/prolog/" \
125
125
- name : Publish Logtalk test logs
126
- uses : actions/upload-artifact@v3
126
+ uses : actions/upload-artifact@v4
127
127
with :
128
128
name : logtalk-test-logs
129
129
path : ' ${{ env.LOGTALKUSER }}/tests/prolog/logtalk_tester_logs'
130
130
- name : Publish Logtalk test results artifact
131
- uses : actions/upload-artifact@v3
131
+ uses : actions/upload-artifact@v4
132
132
with :
133
133
name : logtalk-test-results
134
134
path : ' ${{ env.LOGTALKUSER }}/tests/prolog/**/*.xml'
@@ -143,7 +143,7 @@ jobs:
143
143
report :
144
144
runs-on : ubuntu-22.04
145
145
steps :
146
- - uses : actions/checkout@v3
146
+ - uses : actions/checkout@v4
147
147
- name : Setup Rust
148
148
uses : ./.github/actions/setup-rust
149
149
with :
@@ -162,7 +162,7 @@ jobs:
162
162
run : |
163
163
RUSTC_BOOTSTRAP=1 cargo test --all -- -Z unstable-options --format json --report-time | cargo2junit > cargo_test_results.xml
164
164
- name : Publish cargo test results artifact
165
- uses : actions/upload-artifact@v3
165
+ uses : actions/upload-artifact@v4
166
166
with :
167
167
name : cargo-test-results
168
168
path : cargo_test_results.xml
@@ -181,7 +181,7 @@ jobs:
181
181
- run : cargo bench --bench run_criterion -- --profile-time 60
182
182
183
183
- name : Publish benchmark results
184
- uses : actions/upload-artifact@v3
184
+ uses : actions/upload-artifact@v4
185
185
with :
186
186
name : benchmark-results
187
187
path : |
@@ -195,7 +195,7 @@ jobs:
195
195
needs : [build-test]
196
196
if : startsWith(github.ref, 'refs/tags/v')
197
197
steps :
198
- - uses : actions/download-artifact@v3
198
+ - uses : actions/download-artifact@v4
199
199
- name : Zip binaries for release
200
200
run : |
201
201
zip scryer-prolog_macos-11.zip ./scryer-prolog_macos-11_x86_64-apple-darwin/scryer-prolog
@@ -204,7 +204,7 @@ jobs:
204
204
zip scryer-prolog_windows-latest.zip ./scryer-prolog_windows-latest_x86_64-pc-windows-msvc/scryer-prolog.exe
205
205
zip scryer-prolog_wasm32.zip ./scryer-prolog_ubuntu-22.04_wasm32-unknown-unknown/scryer-prolog.wasm
206
206
- name : Release
207
- uses : softprops/action-gh-release@v1
207
+ uses : softprops/action-gh-release@v2
208
208
with :
209
209
files : |
210
210
scryer-prolog_macos-11.zip
0 commit comments