Skip to content

Commit 26c5cb8

Browse files
authored
chore: upgrade actions/checkout to v2
1 parent fb16fe1 commit 26c5cb8

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/docker-image-ci.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,25 @@ jobs:
1616
runs-on: ubuntu-18.04
1717

1818
steps:
19-
- uses: actions/checkout@v1
20-
with:
21-
fetch-depth: 1
19+
- uses: actions/checkout@v2
2220

2321
- name: build
2422
env:
2523
DOCKER_IMAGE: docker.pkg.github.com/${{ github.repository }}/action:latest
2624
run: |
27-
docker build . --file Dockerfile --tag ${DOCKER_IMAGE} ||
28-
(echo -e "\e[31m[${GITHUB_WORKFLOW}] failed to build\e[m" && exit 1)
25+
docker build . --file Dockerfile --tag ${DOCKER_IMAGE}
2926
3027
shellcheck:
3128
runs-on: ubuntu-18.04
3229
steps:
33-
- uses: actions/checkout@v1
34-
with:
35-
fetch-depth: 1
30+
- uses: actions/checkout@v2
31+
3632
- name: shellcheck
3733
run: shellcheck ./entrypoint.sh
3834

3935
hadolint:
4036
runs-on: macos-latest
4137
steps:
42-
- uses: actions/checkout@v1
43-
with:
44-
fetch-depth: 1
38+
- uses: actions/checkout@v2
4539
- run: brew install hadolint
4640
- run: hadolint ./Dockerfile

0 commit comments

Comments
 (0)