@@ -30,8 +30,7 @@ concurrency:
3030permissions : {} # workflow-level default — deny all
3131
3232jobs :
33- # Setup jobs and populate cache
34-
33+ # Setup Python ======
3534 python-env :
3635 runs-on : ubuntu-latest
3736 permissions :
6665 if [ "$(which python)" != "" ]; then python --version; fi
6766 uname -a
6867 cat /etc/os-release
69-
68+ # Setup Rust ======
7069 rust-env :
7170 runs-on : ubuntu-latest
7271 permissions :
9493 uname -a
9594 cat /etc/os-release
9695
96+ # Python lint and format checks ======
9797 python-checks :
9898 needs : python-env
9999 runs-on : ubuntu-latest
@@ -120,7 +120,7 @@ jobs:
120120
121121 - name : Python Lint Check
122122 run : poetry run ruff check tools
123-
123+ # Rust lint and format checks ======
124124 rust-checks :
125125 needs : rust-env
126126 runs-on : ubuntu-latest
@@ -174,7 +174,7 @@ jobs:
174174
175175 - name : Documentation checks
176176 run : make doc-test
177-
177+ # Rust clippy lint checker
178178 clippy :
179179 needs : rust-env
180180 runs-on : ubuntu-latest
@@ -202,7 +202,7 @@ jobs:
202202 - name : Rust Clippy ${{ matrix.target }}
203203 run : make clippy_${{ matrix.target }}
204204
205- # Postgres
205+ # Postgres unit tests ======
206206 build-and-unit-test-postgres :
207207 needs : [rust-env, python-env]
208208 runs-on : ubuntu-latest
@@ -355,7 +355,7 @@ jobs:
355355 glob : " *.json"
356356 parent : false
357357 process_gcloudignore : false
358-
358+ # Docker build Postgres Image ======
359359 build-postgres-image :
360360 runs-on : ubuntu-latest
361361 needs : [rust-env, python-env]
@@ -389,11 +389,11 @@ jobs:
389389
390390 - name : Set up Docker Buildx
391391 if : steps.cache-postgres-image.outputs.cache-hit != 'true'
392- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
392+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
393393
394394 - name : Build Postgres Docker image
395395 if : steps.cache-postgres-image.outputs.cache-hit != 'true'
396- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
396+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
397397 with :
398398 context : .
399399 push : false
@@ -411,7 +411,7 @@ jobs:
411411 name : postgres-docker-image
412412 path : /tmp/postgres-image.tar
413413 retention-days : 1
414-
414+ # End-to-end tests for Postgres build ======
415415 postgres-e2e-tests :
416416 runs-on : ubuntu-latest
417417 needs : build-postgres-image
@@ -474,7 +474,7 @@ jobs:
474474 parent : false
475475 process_gcloudignore : false
476476
477- # MySQL
477+ # MySQL Unit tests ======
478478 build-and-unit-test-mysql :
479479 runs-on : ubuntu-latest
480480 needs : [rust-env, python-env]
@@ -618,6 +618,7 @@ jobs:
618618 parent : false
619619 process_gcloudignore : false
620620
621+ # Docker build for MySQL Image
621622 build-mysql-image :
622623 runs-on : ubuntu-latest
623624 needs : [rust-env, python-env]
@@ -649,10 +650,10 @@ jobs:
649650 path : /tmp/mysql-image.tar
650651 key : ${{ runner.os }}-mysql-image-${{ hashFiles('Dockerfile', 'Cargo.lock', '**/*.rs', '**/Cargo.toml', 'tools/**', 'scripts/**') }}
651652 - name : Set up Docker Buildx
652- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
653+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
653654
654655 - name : Build MySQL Docker image
655- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
656+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
656657 with :
657658 context : .
658659 push : false
@@ -670,7 +671,7 @@ jobs:
670671 name : mysql-docker-image
671672 path : /tmp/mysql-image.tar
672673 retention-days : 1
673-
674+ # End-to-end tests for MySQL ======
674675 mysql-e2e-tests :
675676 runs-on : ubuntu-latest
676677 needs : build-mysql-image
@@ -733,7 +734,7 @@ jobs:
733734 parent : false
734735 process_gcloudignore : false
735736
736- # Spanner
737+ # Spanner Unit tests ======
737738 build-and-unit-test-spanner :
738739 runs-on : ubuntu-latest
739740 needs : [rust-env, python-env]
@@ -911,6 +912,7 @@ jobs:
911912 parent : false
912913 process_gcloudignore : false
913914
915+ # Docker image build for Spanner
914916 build-spanner-image :
915917 runs-on : ubuntu-latest
916918 needs : [rust-env, python-env]
@@ -942,10 +944,10 @@ jobs:
942944 path : /tmp/spanner-image.tar
943945 key : ${{ runner.os }}-spanner-image-${{ hashFiles('Dockerfile', 'Cargo.lock', '**/*.rs', '**/Cargo.toml', 'tools/**', 'scripts/**') }}
944946 - name : Set up Docker Buildx
945- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
947+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
946948
947949 - name : Build Spanner Docker image (local artifact)
948- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
950+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
949951 with :
950952 context : .
951953 push : false
@@ -964,6 +966,7 @@ jobs:
964966 path : /tmp/spanner-image.tar
965967 retention-days : 1
966968
969+ # End-to-end tests for Spanner ======
967970 spanner-e2e-tests :
968971 runs-on : ubuntu-latest
969972 needs : build-spanner-image
0 commit comments