Skip to content

Bump docker/build-push-action from 5.4.0 to 6.0.2 in the ci group across 1 directory #394

Bump docker/build-push-action from 5.4.0 to 6.0.2 in the ci group across 1 directory

Bump docker/build-push-action from 5.4.0 to 6.0.2 in the ci group across 1 directory #394

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
- test*
jobs:
unit:
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Run tests
run: make test
- name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
git --no-pager diff
echo 'run make test and commit changes'
exit 1
fi