-
-
Notifications
You must be signed in to change notification settings - Fork 54
41 lines (33 loc) · 1.03 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Test
on: [push, pull_request]
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Provides nice code review annotations for problems discovered by
# shellcheck.
- uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
level: info
# As `reviewdog/action-shellcheck` does not fail the build on `style`
# errors, run `bewuethr/shellcheck-action` as a precaution. Can be removed
# once `reviewdog/action-shellcheck` fails the build on the specified
# `severity`.
- uses: bewuethr/shellcheck-action@v2
docker:
name: Docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
username: ${{ github.repository_owner }}
password: "${{ secrets.GITHUB_TOKEN }}"
registry: ghcr.io
image_name: docker-build-with-cache-action
push_git_tag: true
push_image_and_stages: on:push