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