From 8e7e315e45ecb306fb32c3fd879cd540df103636 Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Fri, 25 Aug 2023 11:52:06 -0400 Subject: [PATCH] feat(ci): add local action --- .github/actions/toolchain/action.yaml | 2 -- .github/workflows/ci-test.yml | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/toolchain/action.yaml b/.github/actions/toolchain/action.yaml index da92aa1d0..e16aceb36 100644 --- a/.github/actions/toolchain/action.yaml +++ b/.github/actions/toolchain/action.yaml @@ -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 diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index f2dbf0678..870cfff5c 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -8,6 +8,8 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v3 - uses: ./.github/actions/toolchain - name: Run tests run: cargo test @@ -15,6 +17,8 @@ jobs: spec-test: runs-on: ubuntu-latest steps: + - name: Checkout sources + uses: actions/checkout@v3 - uses: ./.github/actions/toolchain - name: Run tests run: cargo test @@ -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