Skip to content

build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.19.5 to 1.20.0 in /ecr-login #672

build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.19.5 to 1.20.0 in /ecr-login

build(deps): bump github.com/aws/aws-sdk-go-v2/service/ecr from 1.19.5 to 1.20.0 in /ecr-login #672

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
go: ['1.19', '1.20', '1.21']
# Intentionally use specific versions instead of "latest" to
# make this build reproducible.
os: ['ubuntu-22.04', 'macos-12']
# Build all variants regardless of failures
fail-fast: false
name: ${{ matrix.os }} / Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: make get-deps
if: ${{ matrix.go >= '1.19' }}
# test Dockerfile build on Linux. macOS runners do not ship with Docker
# installed by default whereas Ubuntu runners do.
- name: Build in Dockerfile
run: make docker
if: ${{ matrix.os == 'ubuntu-22.04' }}
# Apple Silicon is not supported by Go < 1.16.
# https://go.dev/blog/go1.16
- name: Cross-compile all variants
run: make all-variants
if: ${{ matrix.go >= '1.16' }}
- name: Cross-compile all variants except for Apple Silicon
run: make linux-amd64 linux-arm64 darwin-amd64 windows-amd64
if: ${{ matrix.go < '1.16' }}
- run: make test