-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): upgrade deprecated runner (#2437)
Signed-off-by: Derek Wang <[email protected]>
- Loading branch information
Showing
5 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
jobs: | ||
ui: | ||
name: UI | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 6 | ||
steps: | ||
- name: Checkout code | ||
|
@@ -30,7 +30,7 @@ jobs: | |
run: git diff --exit-code | ||
codegen: | ||
name: Codegen | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Checkout code | ||
|
@@ -59,7 +59,7 @@ jobs: | |
|
||
unit-tests: | ||
name: Unit Tests | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 10 | ||
services: | ||
redis: | ||
|
@@ -125,7 +125,7 @@ jobs: | |
- name: Check Rust formatting | ||
working-directory: ./rust | ||
run: | | ||
cargo fmt -- --check | ||
cargo fmt -- --check | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v4 | ||
|
@@ -136,7 +136,7 @@ jobs: | |
|
||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 10 | ||
env: | ||
GOPATH: /home/runner/go | ||
|
@@ -173,7 +173,7 @@ jobs: | |
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install dependencies | ||
run: sudo apt-get install -y protobuf-compiler | ||
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | ||
- name: Print Protoc version | ||
run: protoc --version | ||
- name: Build binary | ||
|
@@ -191,7 +191,7 @@ jobs: | |
|
||
e2e-tests: | ||
name: E2E Tests | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
needs: [build-rust-amd64] | ||
timeout-minutes: 20 | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ jobs: | |
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install dependencies | ||
run: sudo apt-get install -y protobuf-compiler | ||
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | ||
- name: Build binary | ||
run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu | ||
- name: Rename binary | ||
|
@@ -92,7 +92,7 @@ jobs: | |
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install dependenices | ||
run: sudo apt-get install -y gcc-aarch64-linux-gnu protobuf-compiler | ||
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu protobuf-compiler | ||
- name: Build binary | ||
run: RUSTFLAGS='-C target-feature=+crt-static -C linker=aarch64-linux-gnu-gcc' cargo build --release --target aarch64-unknown-linux-gnu | ||
- name: Rename binary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters