Merge pull request #152 from whoan/issue-151 #434
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |