Skip to content

Commit fcb9c32

Browse files
committed
update test-reporter and download-artifact to remove node deprecation warning, add llvm to rust toolchain
1 parent fea0bd0 commit fcb9c32

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/main-workflow.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
key: ${{ runner.os }}-rust-toolchain-${{ env.RUST_VERSION }}
7979

8080
- name: Install Rust toolchain
81-
run: rustup toolchain install ${{ env.RUST_VERSION }} --component rustfmt --component clippy --no-self-update && rustup default ${{ env.RUST_VERSION }}
81+
run: rustup toolchain install ${{ env.RUST_VERSION }} --component rustfmt --component clippy --component llvm-tools-preview --no-self-update && rustup default ${{ env.RUST_VERSION }}
8282

8383
- name: Display Rust Version Info
8484
shell: bash
@@ -230,6 +230,7 @@ jobs:
230230
SYNC_TOKENSERVER__NODE_TYPE: postgres
231231
RUST_BACKTRACE: 1
232232
RUST_TEST_THREADS: 1
233+
CARGO_INCREMENTAL: "0"
233234

234235
steps:
235236
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -332,7 +333,7 @@ jobs:
332333
SYNC_SYNCSTORAGE__DATABASE_URL: postgresql://test:test@127.0.0.1/syncstorage
333334

334335
- name: Publish Test Report
335-
uses: dorny/test-reporter@a810f9bf83f2344124a920a7a0a85a6716e791f0
336+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3
336337
if: always()
337338
with:
338339
name: Postgres Unit Tests
@@ -443,7 +444,7 @@ jobs:
443444
persist-credentials: false
444445

445446
- name: Download Docker image
446-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
447+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
447448
with:
448449
name: postgres-docker-image
449450
path: /tmp
@@ -460,7 +461,7 @@ jobs:
460461
SYNCSTORAGE_RS_IMAGE: app:build
461462

462463
- name: Publish E2E Test Report
463-
uses: dorny/test-reporter@a810f9bf83f2344124a920a7a0a85a6716e791f0
464+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3
464465
if: always()
465466
with:
466467
name: Postgres E2E Tests
@@ -522,6 +523,7 @@ jobs:
522523
SYNC_TOKENSERVER__NODE_TYPE: spanner
523524
RUST_BACKTRACE: 1
524525
RUST_TEST_THREADS: 1
526+
CARGO_INCREMENTAL: "0"
525527

526528
steps:
527529
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -613,7 +615,7 @@ jobs:
613615
SYNC_SYNCSTORAGE__ENFORCE_QUOTA: 1
614616

615617
- name: Publish Test Report
616-
uses: dorny/test-reporter@a810f9bf83f2344124a920a7a0a85a6716e791f0
618+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3
617619
if: always()
618620
with:
619621
name: MySQL Unit Tests
@@ -725,7 +727,7 @@ jobs:
725727
persist-credentials: false
726728

727729
- name: Download Docker image
728-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
730+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
729731
with:
730732
name: mysql-docker-image
731733
path: /tmp
@@ -742,7 +744,7 @@ jobs:
742744
SYNCSTORAGE_RS_IMAGE: app:build
743745

744746
- name: Publish E2E Test Report
745-
uses: dorny/test-reporter@a810f9bf83f2344124a920a7a0a85a6716e791f0
747+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3
746748
if: always()
747749
with:
748750
name: MySQL E2E Tests
@@ -809,6 +811,7 @@ jobs:
809811
SYNC_SYNCSTORAGE__DATABASE_URL: spanner://projects/test-project/instances/test-instance/databases/test-database
810812
RUST_BACKTRACE: 1
811813
RUST_TEST_THREADS: 1
814+
CARGO_INCREMENTAL: "0"
812815

813816
steps:
814817
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -929,7 +932,7 @@ jobs:
929932
run: make spanner_test_with_coverage
930933

931934
- name: Publish Test Report
932-
uses: dorny/test-reporter@a810f9bf83f2344124a920a7a0a85a6716e791f0
935+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3
933936
if: always()
934937
with:
935938
name: Spanner Unit Tests
@@ -1042,7 +1045,7 @@ jobs:
10421045
persist-credentials: false
10431046

10441047
- name: Download Docker image
1045-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
1048+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
10461049
with:
10471050
name: spanner-docker-image
10481051
path: /tmp
@@ -1059,7 +1062,7 @@ jobs:
10591062
SYNCSTORAGE_RS_IMAGE: app:build
10601063

10611064
- name: Publish E2E Test Report
1062-
uses: dorny/test-reporter@a810f9bf83f2344124a920a7a0a85a6716e791f0
1065+
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3
10631066
if: always()
10641067
with:
10651068
name: Spanner E2E Tests

0 commit comments

Comments
 (0)