Skip to content

Commit

Permalink
fix(ci): upgrade deprecated runner (#2437)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy committed Feb 28, 2025
1 parent 86cfd5a commit 0063916
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
generate_changelog:
if: github.repository == 'numaproj/numaflow'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Generate changelog
steps:
- uses: actions/checkout@v4
Expand All @@ -19,6 +19,6 @@ jobs:
- run: ./hack/changelog.sh > CHANGELOG.md
- uses: peter-evans/create-pull-request@v6
with:
title: 'docs: updated CHANGELOG.md'
commit-message: 'docs: updated CHANGELOG.md'
title: "docs: updated CHANGELOG.md"
commit-message: "docs: updated CHANGELOG.md"
signoff: true
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 10
services:
redis:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
docs:
if: github.repository == 'numaproj/numaflow'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup Python
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: "1.23"
- name: build
run: make docs
- name: deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
with:
rustflags: ""
- 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
Expand Down Expand Up @@ -148,8 +148,8 @@ jobs:
run: |
IMAGE_NAMESPACE=${{ secrets.QUAYIO_ORG }} VERSION=${{ steps.version.outputs.VERSION }} DOCKER_PUSH=true make image-multi
Bom:
runs-on: ubuntu-latest
bom:
runs-on: ubuntu-24.04
if: github.repository == 'numaproj/numaflow'
needs: [build-push-linux-multi]
steps:
Expand All @@ -176,8 +176,8 @@ jobs:
name: sbom.tar.gz
path: /tmp/sbom.tar.gz

Release:
runs-on: ubuntu-latest
release:
runs-on: ubuntu-24.04
if: github.repository == 'numaproj/numaflow'
needs: [build-push-linux-multi, bom]
steps:
Expand Down

0 comments on commit 0063916

Please sign in to comment.