From 28715cf2cc63a87b9eef515a92794babdff80cb3 Mon Sep 17 00:00:00 2001 From: zabackary <137591653+zabackary@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:20:14 +0900 Subject: [PATCH] chore: update ci --- .github/workflows/{rust.yml => ci.yml} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename .github/workflows/{rust.yml => ci.yml} (58%) diff --git a/.github/workflows/rust.yml b/.github/workflows/ci.yml similarity index 58% rename from .github/workflows/rust.yml rename to .github/workflows/ci.yml index d153cee..cf051e1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Rust +name: CI on: push: @@ -16,5 +16,9 @@ jobs: steps: - uses: actions/checkout@v4 + - run: rustup toolchain install stable --profile minimal + - uses: Swatinem/rust-cache@v2.7.3 + with: + save-if: ${{ github.ref == 'refs/heads/master' }} - name: Check run: cargo check --verbose