Skip to content
This repository was archived by the owner on Jan 10, 2026. It is now read-only.

Commit 59ff2dd

Browse files
ci updates
1 parent b88d7c6 commit 59ff2dd

File tree

3 files changed

+18
-55
lines changed

3 files changed

+18
-55
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,49 @@ jobs:
99
name: Build and test Java (sof-language)
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- name: Set up JDK 24
14-
uses: actions/setup-java@v2
12+
- uses: https://github.com/actions/checkout@v4
13+
- name: Set up JDK 21
14+
uses: https://github.com/actions/setup-java@v5
1515
with:
16-
java-version: "24"
16+
java-version: "21"
1717
distribution: "temurin"
18+
cache: "gradle"
1819
- name: Setup Gradle
19-
uses: gradle/actions/setup-gradle@v4
20+
uses: https://github.com/gradle/actions/setup-gradle@v4
2021
- name: Validate Gradle wrapper
21-
uses: gradle/actions/wrapper-validation@v3
22+
uses: https://github.com/gradle/actions/wrapper-validation@v3
2223
- name: Build
2324
run: ./gradlew build
2425
- name: Test and generate coverage information
2526
run: ./gradlew coverage
2627
- name: Upload coverage information to codecov
27-
uses: codecov/codecov-action@v2
28+
uses: https://github.com/codecov/codecov-action@v5
2829
with:
2930
files: build/jcc-report/test/jacocoTestReport.xml
3031
name: sof-coverage-upload
3132
fail_ci_if_error: false
3233
verbose: true
34+
token: ${{ secrets.CODECOV_TOKEN }}
3335

3436
build-rust:
3537
name: Build and test Rust (sof-rs)
3638
runs-on: ubuntu-latest
3739
steps:
38-
- uses: actions/checkout@v4
40+
- uses: https://github.com/actions/checkout@v4
3941
- name: Install Rust
40-
uses: dtolnay/rust-toolchain@v1
42+
id: toolchain
43+
uses: https://github.com/dtolnay/rust-toolchain@v1
4144
with:
4245
toolchain: stable
43-
- name: Output Rust version to file
44-
run: cargo --version > rust-version
45-
- uses: actions/cache@v4
46+
- uses: https://github.com/actions/cache@v4
4647
with:
4748
path: |
4849
~/.cargo/bin/
4950
~/.cargo/registry/index/
5051
~/.cargo/registry/cache/
5152
~/.cargo/git/db/
5253
target/
53-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('rust-version') }}
54+
key: build-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}
5455
- name: Install nextest
5556
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
5657

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
name: Deploy with mdbook and GitHub Pages
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: https://github.com/actions/checkout@v2
1616
name: Checkout repo
17-
- uses: actions-rs/toolchain@v1
17+
- uses: https://github.com/actions-rs/toolchain@v1
1818
name: Install toolchain
1919
id: toolchain
2020
with:
@@ -24,14 +24,14 @@ jobs:
2424
mkdir mdbook
2525
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
2626
echo `pwd`/mdbook >> $GITHUB_PATH
27-
- uses: actions/cache@v4
27+
- uses: https://github.com/actions/cache@v4
2828
with:
2929
path: |
3030
~/.cargo/bin/
3131
~/.cargo/registry/index/
3232
~/.cargo/registry/cache/
3333
~/.cargo/git/db/
34-
key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}
34+
key: docs-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}
3535
- name: Install mdbook-spec
3636
run: cargo install --force --git 'https://github.com/rust-lang/reference' mdbook-spec
3737
- name: Build documentation

0 commit comments

Comments
 (0)