Skip to content

Commit

Permalink
fix(ci): install protoc in udeps workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Aug 30, 2022
1 parent 262027a commit 754a0c8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
ci-check-all = "check --all-targets --all-features"
ci-check-inx = "check --all-targets --no-default-features --features inx,stardust"
ci-check-api = "check --all-targets --no-default-features --features api,stardust"
ci-check-features = "hack check --each-feature --no-dev-deps"

ci-clippy-all = "clippy --all-targets --all-features -- -D warnings"
ci-clippy-inx = "clippy --all-targets --no-default-features --features inx,stardust -- -D warnings"
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: canary
on:
schedule:
- cron: '4 20 * * SUN'
pull_request:
paths:
- "./.github/workflows/canary.yml"

jobs:

Expand Down Expand Up @@ -49,6 +52,11 @@ jobs:
toolchain: nightly
override: true

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions-rs/cargo@v1
with:
command: install
Expand All @@ -68,6 +76,11 @@ jobs:
profile: minimal
toolchain: stable
override: true

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions-rs/cargo@v1
with:
Expand All @@ -76,4 +89,4 @@ jobs:

- uses: actions-rs/cargo@v1
with:
command: hack check --each-feature --no-dev-deps
command: ci-check-features
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
paths-ignore:
- '**.md'
- 'bin/inx-chronicle/docker/**'
branches:
- main
pull_request:
paths-ignore:
- '**.md'
Expand Down

0 comments on commit 754a0c8

Please sign in to comment.