Skip to content

Bump dependencies and update temporal mock client (#439) #960

Bump dependencies and update temporal mock client (#439)

Bump dependencies and update temporal mock client (#439) #960

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
env:
GOPROXY: ${{ vars.GOPROXY }}
DOCKER_BUILD_ARGS: "${{ vars.DOCKER_BUILD_ARGS }}"
jobs:
test:
name: Test
runs-on: ${{ vars.RUNNER_UBUNTU && fromJSON(vars.RUNNER_UBUNTU) || 'ubuntu-latest' }}
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build docker container image
uses: docker/build-push-action@v5
with:
context: .
file: builder.Dockerfile
pull: true
load: true
push: false
tags: ci-builder
build-args: |
${{ env.DOCKER_BUILD_ARGS }}
- name: "go work"
run: docker run --rm -v $(pwd):/work -w /work --entrypoint "/usr/bin/make" ci-builder go-work
- name: "make all"
run: docker run --rm -v $(pwd):/work -w /work --entrypoint "/usr/bin/make" ci-builder all
- name: "make check-tidy"
run: docker run --rm -v $(pwd):/work -w /work --entrypoint "/usr/bin/make" ci-builder check-tidy