2121jobs :
2222 test :
2323 name : build-and-test
24- runs-on : ubuntu-latest
24+ runs-on : ubuntu-24.04-arm
2525 steps :
26- - uses : actions/checkout@v5
26+ - uses : actions/checkout@v6
2727 - name : Setup sccache
2828 uses : mozilla-actions/sccache-action@v0.0.9
2929 timeout-minutes : 5
@@ -35,17 +35,24 @@ jobs:
3535
3636 lint :
3737 name : All lint checks
38- runs-on : ubuntu-latest
38+ runs-on : ubuntu-24.04-arm
3939 steps :
40- - uses : actions/checkout@v5
40+ - uses : actions/checkout@v6
4141 - name : Setup sccache
4242 uses : mozilla-actions/sccache-action@v0.0.9
4343 timeout-minutes : 5
4444 continue-on-error : true
45+ - name : Apt Dependencies
46+ uses : nick-fields/retry@v3
47+ with :
48+ timeout_minutes : 5
49+ max_attempts : 3
50+ command : |
51+ sudo apt-get install -y build-essential # required dep for cargo-spellcheck
4552 - name : Install LLVM and Clang
4653 uses : KyleMayes/install-llvm-action@v2
4754 with :
48- version : " 14 "
55+ version : " 18 "
4956 - name : Install Lint tools
5057 run : make install-lint-tools-ci
5158 env :
5562
5663 dependencies-check :
5764 name : Check cargo dependencies
58- runs-on : ubuntu-latest
65+ runs-on : ubuntu-24.04-arm
5966 steps :
60- - uses : actions/checkout@v5
67+ - uses : actions/checkout@v6
6168 - name : Set up Ruby
6269 uses : ruby/setup-ruby@v1
6370 with :
@@ -66,10 +73,10 @@ jobs:
6673 run : |
6774 gem install toml-rb --no-document
6875 ruby scripts/linters/find_unused_deps.rb
69- codedov :
70- runs-on : ubuntu-latest
76+ codecov :
77+ runs-on : ubuntu-24.04-arm
7178 steps :
72- - uses : actions/checkout@v5
79+ - uses : actions/checkout@v6
7380 - uses : taiki-e/install-action@cargo-llvm-cov
7481 - name : Setup sccache
7582 uses : mozilla-actions/sccache-action@v0.0.9
@@ -78,15 +85,14 @@ jobs:
7885 - run : cargo llvm-cov --all-features --lcov --output-path lcov.info
7986 env :
8087 RUSTC_WRAPPER :
81- - uses : actions/upload-artifact@v4
88+ - uses : actions/upload-artifact@v6
8289 with :
8390 name : lcov.info
8491 path : lcov.info
8592 if-no-files-found : error
86- - name : Upload to codecov
87- env :
88- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
89- run : |
90- curl -Os https://uploader.codecov.io/latest/linux/codecov
91- chmod +x codecov
92- ./codecov -f lcov.info -Z
93+ - name : Upload CodeCov
94+ uses : codecov/codecov-action@v5
95+ with :
96+ token : ${{ secrets.CODECOV_TOKEN }}
97+ files : lcov.info
98+ fail_ci_if_error : true
0 commit comments