From 7687aa2fc836d507b8e40398d199bceee9e1f277 Mon Sep 17 00:00:00 2001 From: Solo-steven Date: Sun, 22 Sep 2024 15:29:33 +0800 Subject: [PATCH] fix: add checkout action before running command --- .github/workflows/rustyc-test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rustyc-test.yaml b/.github/workflows/rustyc-test.yaml index ddc31d94..53556e33 100644 --- a/.github/workflows/rustyc-test.yaml +++ b/.github/workflows/rustyc-test.yaml @@ -5,9 +5,11 @@ jobs: fmt: runs-on: ubuntu-latest steps: - - run: cargo fmt + - uses: actions/checkout@v4 + - run: cargo fmt --check --verbose test: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - run: cargo test working-directory: "compilers/rustyc/optimizer" \ No newline at end of file