Skip to content

Commit

Permalink
Use protoc action
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed May 17, 2024
1 parent 79c8dae commit 5b42e0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
pull_request:
branches: [main]
branches: ["main"]
push:
branches: ["main"]
tags: ["*"]
Expand All @@ -28,8 +28,8 @@ jobs:
- name: Rust install
uses: dtolnay/rust-toolchain@stable

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Cache
uses: actions/cache@v4
Expand Down Expand Up @@ -76,8 +76,8 @@ jobs:
with:
components: clippy

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Clippy
run: cargo clippy --all-targets -- -Dclippy::all -D warnings
Expand Down Expand Up @@ -111,8 +111,8 @@ jobs:
- name: Rust install
uses: dtolnay/rust-toolchain@stable

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Cache
uses: actions/cache@v4
Expand Down Expand Up @@ -147,8 +147,8 @@ jobs:
- name: Rust install
uses: dtolnay/rust-toolchain@stable

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Cache
uses: actions/cache@v4
Expand Down Expand Up @@ -176,8 +176,8 @@ jobs:

- uses: dtolnay/rust-toolchain@stable

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Cache
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Oracles
# Oracles [![CI](https://github.com/helium/oracles/actions/workflows/CI.yml/badge.svg)](https://github.com/helium/oracles/actions/workflows/CI.yml)

## Mobile

Expand Down

0 comments on commit 5b42e0e

Please sign in to comment.