From 7abb4adc075ee0842f8a9ae5ace8f84f3a6e34a0 Mon Sep 17 00:00:00 2001 From: utam0k Date: Wed, 28 Feb 2024 21:58:21 +0900 Subject: [PATCH] WIP Signed-off-by: utam0k --- .github/workflows/actions/setup/action.yaml | 10 ++++++++++ .github/workflows/basic.yml | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/actions/setup/action.yaml diff --git a/.github/workflows/actions/setup/action.yaml b/.github/workflows/actions/setup/action.yaml new file mode 100644 index 000000000..7e4fa519e --- /dev/null +++ b/.github/workflows/actions/setup/action.yaml @@ -0,0 +1,10 @@ +name: Setup + +runs: + using: composite + steps: + - name: Install just + uses: taiki-e/install-action@just + - name: Install requirements + shell: bash + run: sudo env PATH=$PATH just ci-prepare diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 477f7dc68..ebc53968f 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -100,9 +100,8 @@ jobs: uses: taiki-e/install-action@v1 with: tool: cargo-llvm-cov@0.4.0 - - uses: taiki-e/install-action@just - - name: Install requirements - run: sudo env PATH=$PATH just ci-prepare + - name: Setup + uses: ./.github/workflows/actions/setup - name: Run Test Coverage for youki run: | cargo llvm-cov clean --workspace