Skip to content

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.99.0 to 1.108.1 #107

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.99.0 to 1.108.1

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.99.0 to 1.108.1 #107

Workflow file for this run

name: test-and-build
on:
pull_request: {}
workflow_call: {}
jobs:
unit-test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache go-build and mod
uses: actions/cache@v3
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 #v4.0.0
with:
go-version: 1.18.x
- name: Setup deps
run: |
make install-build-deps
- name: Unit test
run: |
PATH=$PATH:$(go env GOPATH)/bin make build
PATH=$PATH:$(go env GOPATH)/bin make unit-test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache go-build and mod
uses: actions/cache@v3
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 #v4.0.0
with:
go-version: 1.18.x
- name: Setup deps
run: |
make install-build-deps
- name: Lint
run: |
PATH=$PATH:$(go env GOPATH)/bin make lint
image:
name: Build and check image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache go-build and mod
uses: actions/cache@v3
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 #v4.0.0
with:
go-version: 1.18.x
- name: Setup deps
run: |
make install-build-deps
- name: build
run: |
PATH=$PATH:$(go env GOPATH)/bin make -f Makefile.docker check-build-image-manifest-up-to-date