Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager from 1.17.3 to 1.17.9 #603

chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager from 1.17.3 to 1.17.9

chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager from 1.17.3 to 1.17.9 #603

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
jobs:
unit_tests:
name: Run Unit Tests
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Restore Go cache
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- run: make test
- name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
git --no-pager diff
echo 'run make test and commit changes'
exit 1
fi
- name: Security Scan
uses: securego/gosec@master
with:
args: ./...
build_docker_image:
name: Build Docker Image
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build controller Docker image
uses: docker/build-push-action@v4
with:
push: false
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Dockerfile
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
build-args: |
BUILD_SHA=${{ github.sha }}
BUILD_VERSION=test-build
platforms: linux/amd64,linux/arm64
tags: |
cfn-flux-controller:test-build
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache