Update nginx Docker tag to v1.27.1 #1328
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 | |
lint: | |
name: Lint go code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 | |
- name: Lint go code with golangci-lint | |
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # 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.52.2 | |
test: | |
name: Verify go test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 | |
- name: Setup golang | |
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4 | |
with: | |
go-version: '1.17.0' | |
- name: Print go version | |
run: go version | |
- name: Execute go tests | |
run: go test -v ./... | |
tilt-ci-dev: | |
name: Verify tilt ci (development images) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@d8ccf8fb623ce1bb360ae2f45f323d9d5c5e9f00 # v1.5.0 | |
- name: Install tilt cli | |
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3 | |
with: | |
setup-tools: | | |
tilt | |
tilt: 'v0.32.0' | |
- name: Verify tilt ci | |
run: | | |
timeout 600 tilt ci | |
tilt-ci-prod: | |
name: Verify tilt ci (production images) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@d8ccf8fb623ce1bb360ae2f45f323d9d5c5e9f00 # v1.5.0 | |
- name: Install tilt cli | |
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3 | |
with: | |
setup-tools: | | |
tilt | |
tilt: 'v0.32.0' | |
- name: Verify tilt ci | |
run: | | |
PROD=1 timeout 600 tilt ci |