Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Bump github.com/stretchr/testify from 1.8.1 to 1.8.3 #963

Bump github.com/stretchr/testify from 1.8.1 to 1.8.3

Bump github.com/stretchr/testify from 1.8.1 to 1.8.3 #963

Workflow file for this run

name: End-to-End
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
schedule:
- cron: '0 4 * * *'
env:
NAME: "mqtt-log-stdout"
jobs:
end-to-end:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: "^1.19"
- name: Prepare
id: prep
run: |
VERSION=sha-${GITHUB_SHA::8}
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF/refs\/tags\//}
fi
echo ::set-output name=BUILD_DATE::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=VERSION::${VERSION}
- name: Cache container layers
uses: actions/cache@v3.0.6
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up QEMU
uses: docker/setup-qemu-action@v2.0.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.0.0
- name: Build and load (current arch)
run: |
docker buildx build --load -t ${{ env.NAME }}:${{ steps.prep.outputs.VERSION }} .
- name: Run end-to-end test
run: |
set -e
make e2e TAG=${{ steps.prep.outputs.VERSION }}