@@ -130,7 +130,7 @@ jobs:
130130 skip : ' ${{ !contains(github.event.pull_request.labels.*.name, '' ci-full'' ) && (github.event_name == '' pull_request'' ) }}'
131131 - os : macos
132132 arch : x86_64
133- runner : macos-13
133+ runner : macos-15-intel
134134 job : lint
135135 profile : debug
136136 - os : windows
@@ -188,8 +188,8 @@ jobs:
188188 ~/.cargo/registry/index
189189 ~/.cargo/registry/cache
190190 ~/.cargo/git/db
191- key : ' 86 -cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles('' Cargo.lock'' ) }}'
192- restore-keys : ' 86 -cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
191+ key : ' 99 -cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles('' Cargo.lock'' ) }}'
192+ restore-keys : ' 99 -cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
193193 if : ' !(matrix.skip)'
194194 - uses : dsherret/rust-toolchain-file@v1
195195 if : ' !(matrix.skip)'
@@ -391,7 +391,7 @@ jobs:
391391 !./target/*/*.zip
392392 !./target/*/*.tar.gz
393393 key : never_saved
394- restore-keys : ' 86 -cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
394+ restore-keys : ' 99 -cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
395395 - name : Apply and update mtime cache
396396 if : ' !(matrix.skip) && (!startsWith(github.ref, '' refs/tags/'' ))'
397397 uses : ./.github/mtime_cache
@@ -764,104 +764,15 @@ jobs:
764764 draft : true
765765 - name : Save cache build output (main)
766766 uses : actions/cache/save@v4
767- if : ' !(matrix.skip) && (matrix.job == '' test'' && github.ref == '' refs/heads/main'' )'
768- with :
769- path : |-
770- ./target
771- !./target/*/gn_out
772- !./target/*/gn_root
773- !./target/*/*.zip
774- !./target/*/*.tar.gz
775- key : ' 86-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
776- lint :
777- name : ' lint ${{ matrix.profile }} ${{ matrix.os }}-${{ matrix.arch }}'
778- needs :
779- - pre_build
780- if : ' ${{ needs.pre_build.outputs.skip_build != '' true'' }}'
781- runs-on : ' ${{ matrix.runner }}'
782- timeout-minutes : 30
783- defaults :
784- run :
785- shell : bash
786- strategy :
787- matrix :
788- include :
789- - os : linux
790- arch : x86_64
791- runner : ubuntu-24.04
792- profile : debug
793- job : lint
794- - os : macos
795- arch : x86_64
796- runner : macos-15-intel
797- profile : debug
798- job : lint
799- - os : windows
800- arch : x86_64
801- runner : windows-2022
802- profile : debug
803- job : lint
804- steps :
805- - name : Configure git
806- run : |-
807- git config --global core.symlinks true
808- git config --global fetch.parallel 32
809- - name : Clone repository
810- uses : actions/checkout@v4
811- with :
812- fetch-depth : 5
813- submodules : false
814- - name : Clone submodule ./tests/util/std
815- run : git submodule update --init --recursive --depth=1 -- ./tests/util/std
816- - name : Cache Cargo home
817- uses : cirruslabs/cache@v4
818- with :
819- path : |-
820- ~/.cargo/.crates.toml
821- ~/.cargo/.crates2.json
822- ~/.cargo/bin
823- ~/.cargo/registry/index
824- ~/.cargo/registry/cache
825- ~/.cargo/git/db
826- key : ' 86-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles('' Cargo.lock'' ) }}'
827- restore-keys : ' 86-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
828- - uses : dsherret/rust-toolchain-file@v1
829- - name : Install Deno
830- uses : denoland/setup-deno@v2
831- with :
832- deno-version : v2.x
833- - name : Restore cache build output (PR)
834- uses : actions/cache/restore@v4
835- if : ' github.ref != '' refs/heads/main'' && !startsWith(github.ref, '' refs/tags/'' )'
836- with :
837- path : |-
838- ./target
839- !./target/*/gn_out
840- !./target/*/gn_root
841- !./target/*/*.zip
842- !./target/*/*.tar.gz
843- key : never_saved
844- restore-keys : ' 86-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
845- - name : test_format.js
846- if : matrix.os == 'linux'
847- run : deno run --allow-write --allow-read --allow-run --allow-net ./tools/format.js --check
848- - name : lint.js
849- env :
850- GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
851- run : deno run --allow-write --allow-read --allow-run --allow-net --allow-env ./tools/lint.js
852- - name : jsdoc_checker.js
853- run : deno run --allow-read --allow-env --allow-sys ./tools/jsdoc_checker.js
854- - name : Save cache build output (main)
855- uses : actions/cache/save@v4
856- if : matrix.job == 'test' && github.ref == 'refs/heads/main'
767+ if : ' !(matrix.skip) && ((matrix.job == '' test'' || matrix.job == '' lint'' ) && github.ref == '' refs/heads/main'' )'
857768 with :
858769 path : |-
859770 ./target
860771 !./target/*/gn_out
861772 !./target/*/gn_root
862773 !./target/*/*.zip
863774 !./target/*/*.tar.gz
864- key : ' 86 -cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
775+ key : ' 99 -cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
865776 libs :
866777 name : build libs
867778 needs :
0 commit comments