Skip to content

Update golang:1.21.4-bookworm Docker digest to 211553a #3621

Update golang:1.21.4-bookworm Docker digest to 211553a

Update golang:1.21.4-bookworm Docker digest to 211553a #3621

Workflow file for this run

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Lint go code with golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3
with:
version: v1.55.2
working-directory: backend
- name: Lint go code with golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3
with:
version: v1.55.2
working-directory: notify
go-test:
name: Verify go tests
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup golang
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: v1.21.3
- name: Print go version
run: go version
- name: Execute go tests
run: GOPROXY=https://goproxy.io go test -v ./...
working-directory: backend
- name: Execute go tests
run: GOPROXY=https://goproxy.io go test -v ./...
working-directory: notify
tilt-ci-dev:
name: Verify tilt ci (development images)
runs-on: ubuntu-latest
steps:
- name: Remove unused binarys
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
- name: Checkout git repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Create k8s Kind Cluster
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
- name: Install tilt cli
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3
with:
setup-tools: |
tilt
tilt: 'v0.33.6'
- name: Verify tilt ci
run: |
timeout 1200 tilt ci
tilt-ci-prod:
name: Verify tilt ci (production images)
runs-on: ubuntu-latest
steps:
- name: Remove unused binarys
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
- name: Checkout git repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Create k8s Kind Cluster
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
- name: Install tilt cli
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3
with:
setup-tools: |
tilt
tilt: 'v0.33.6'
- name: Verify tilt ci
run: |
PROD=1 timeout 1200 tilt ci