Update ghcr.io/turbine-kreuzberg/dind-nurse:latest Docker digest to 6… #2440
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: Execute automated checks | |
on: | |
- push | |
jobs: | |
# https://github.com/golangci/golangci-lint-action#how-to-use | |
go-lint: | |
name: Lint go code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Lint go code with golangci-lint | |
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.53.3 | |
go-test: | |
name: Verify go tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Setup golang | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4 | |
with: | |
go-version: '1.20.5' | |
- name: Print go version | |
run: go version | |
- name: Execute go tests | |
run: go test -v ./... | |
tilt-ci: | |
name: Verify tilt ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@fa81e57adff234b2908110485695db0f181f3c67 # v1.7.0 | |
- name: Install tilt cli | |
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3 | |
with: | |
setup-tools: | | |
tilt | |
tilt: 'v0.33.1' | |
- name: Setup golang | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4 | |
with: | |
go-version: '1.20.5' | |
- name: Verify tilt ci | |
run: | | |
TILT_ALLOW_CONTEXT=kind-chart-testing \ | |
timeout 1200 \ | |
tilt ci |