Skip to content

Commit

Permalink
go back to helium runner and try to remove protoc from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed May 7, 2024
1 parent 44a2351 commit d013593
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:

build:
runs-on: ubuntu-latest
runs-on: oracles-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-build
cancel-in-progress: true
Expand All @@ -27,8 +27,6 @@ jobs:

- name: Rust install
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
Expand All @@ -49,7 +47,7 @@ jobs:

fmt:
needs: build
runs-on: ubuntu-latest
runs-on: oracles-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-fmt
cancel-in-progress: true
Expand All @@ -60,7 +58,7 @@ jobs:
- name: Rust install
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
components: rustfmt

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
Expand All @@ -80,7 +78,7 @@ jobs:
run: cargo fmt -- --check
clippy:
needs: build
runs-on: ubuntu-latest
runs-on: oracles-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-clippy
cancel-in-progress: true
Expand All @@ -91,7 +89,7 @@ jobs:
- name: Rust install
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
components: clippy

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
Expand All @@ -112,7 +110,7 @@ jobs:

tests:
needs: build
runs-on: ubuntu-latest
runs-on: oracles-20.04
strategy:
fail-fast: false
matrix:
Expand All @@ -138,11 +136,9 @@ jobs:

- name: Rust install
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
# - name: Install protoc
# run: sudo apt-get install -y protobuf-compiler

- name: Cache
uses: actions/cache@v4
Expand Down

0 comments on commit d013593

Please sign in to comment.