Skip to content

Commit

Permalink
ci: bump the checkout action from v1 to v2
Browse files Browse the repository at this point in the history
checkout@v2 fetches only a single commit by default.
  • Loading branch information
dkim committed Jan 13, 2020
1 parent b55b00a commit df7b0f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df7b0f6

Please sign in to comment.