From df7b0f634efe5d8b8af0506f09ecd94b0e352032 Mon Sep 17 00:00:00 2001 From: Deokhwan Kim Date: Sun, 12 Jan 2020 20:48:35 +0900 Subject: [PATCH] ci: bump the checkout action from v1 to v2 checkout@v2 fetches only a single commit by default. --- .github/workflows/build.yml | 16 ++++------------ .github/workflows/license.yml | 4 +--- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7326c74..ccad13f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,9 +16,7 @@ jobs: name: cargo test (Ubuntu) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -39,9 +37,7 @@ jobs: name: cargo test (macOS) runs-on: macOS-latest steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -62,9 +58,7 @@ jobs: name: cargo test (Windows) runs-on: windows-latest steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 with: @@ -84,9 +78,7 @@ jobs: name: cargo fmt/clippy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 9a545db..8d3819a 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -22,9 +22,7 @@ jobs: name: cargo deny runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 with: