name: CI on: pull_request: env: GOPATH: /go_path GOCACHE: /go_cache RUNNER_TOOL_CACHE: /toolcache jobs: install-dependencies: uses: ./.gitea/workflows/install-go-dependencies.yaml build-check: name: build check needs: install-dependencies uses: ./.gitea/workflows/run-go-script.yaml with: script: build check-format: name: check format needs: install-dependencies uses: ./.gitea/workflows/run-go-script.yaml with: script: check-format check-lint: name: check lint needs: install-dependencies uses: ./.gitea/workflows/run-go-script.yaml with: script: check-lint test: name: test needs: install-dependencies uses: ./.gitea/workflows/run-go-script.yaml with: script: test image-check: name: image check runs-on: - ubuntu-latest - linux_amd64 steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Build image run: make build-image