mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-18 00:13:48 +08:00
gha: Add fetch-depth 1 to actions/checkout
This commit is contained in:
parent
efee27b98b
commit
83bd255342
6
.github/workflows/docker-image-ci.yml
vendored
6
.github/workflows/docker-image-ci.yml
vendored
@ -8,6 +8,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
env:
|
env:
|
||||||
@ -20,6 +22,8 @@ jobs:
|
|||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
- name: shellcheck
|
- name: shellcheck
|
||||||
run: shellcheck ./entrypoint.sh
|
run: shellcheck ./entrypoint.sh
|
||||||
|
|
||||||
@ -27,6 +31,8 @@ jobs:
|
|||||||
runs-on: macOS-10.14
|
runs-on: macOS-10.14
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
- name: hadolint
|
- name: hadolint
|
||||||
run: |
|
run: |
|
||||||
brew install hadolint
|
brew install hadolint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user