From 0f55af19052275f142fd0886ff595a18086cce09 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 23 Apr 2023 09:46:33 +0900 Subject: [PATCH] gha: Specify tag instead of branch on actions/checkout Signed-off-by: Yuki Okushi --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9cdaa501..921b64b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: os: windows-2019 rust: stable-x86_64-gnu steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - name: Install Rust (rustup) run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }} shell: bash @@ -49,7 +49,7 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - name: Install Rust run: rustup update stable && rustup default stable && rustup component add rustfmt - run: cargo fmt -- --check @@ -61,7 +61,7 @@ jobs: matrix: target: [wasm32-unknown-unknown, wasm32-wasi] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - name: Install Rust run: rustup update stable && rustup default stable && rustup target add ${{ matrix.target }} - run: cargo build --target ${{ matrix.target }}