Skip to content

Commit

Permalink
ci: Update checkout to v2
Browse files Browse the repository at this point in the history
fixes #248
  • Loading branch information
stepanstipl committed Dec 29, 2021
1 parent 6ff7368 commit a268f68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
runs-on: ubuntu-latest
container: golang:1.17.1-alpine3.14
steps:
- name: Install git
run: apk add --update --no-cache git
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Test
Expand All @@ -42,10 +44,12 @@ jobs:
- os: windows
arch: arm64
steps:
- name: Install git
run: apk add --update --no-cache git
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 1
fetch-depth: 0
- name: Build
run: |
scripts/alpine-setup.sh
Expand Down Expand Up @@ -77,7 +81,7 @@ jobs:
]
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/download-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0

Expand Down

0 comments on commit a268f68

Please sign in to comment.