Skip to content

Commit

Permalink
feat(ci): add local action
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Aug 25, 2023
1 parent 0e42afe commit 8e7e315
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/actions/toolchain/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ inputs:
runs:
using: "composite"
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install protobuf
run: sudo apt-get install -y protobuf-compiler
- name: Install toolchain
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: ./.github/actions/toolchain
- name: Run tests
run: cargo test

spec-test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: ./.github/actions/toolchain
- name: Run tests
run: cargo test
Expand All @@ -29,6 +33,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: ./.github/actions/toolchain
with:
rust_components: clippy
Expand Down

0 comments on commit 8e7e315

Please sign in to comment.