Skip to content

Bump actions/checkout from 4.2.0 to 4.2.1 in the actions group #110

Bump actions/checkout from 4.2.0 to 4.2.1 in the actions group

Bump actions/checkout from 4.2.0 to 4.2.1 in the actions group #110

Workflow file for this run

name: Run e2e Tests
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out code onto GOPATH
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4
name: Setup crane 🪿 ♥️ 🏗️
- name: Install Cosign 🪿 ♥️ ·∫·
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v2.2.0
with:
go-version: '1.22'
check-latest: true
- name: Launch Registry
run: |
if [ "$(docker inspect -f '{{.State.Running}}' registry 2>/dev/null || true)" != 'true' ]; then
docker run -d --restart=always -p "127.0.0.1:5000:5000" --network bridge --name registry \
registry:2
fi
- name: Push Test Images
run: |
./scripts/e2e.sh
- name: Run Tests
run: |
go test -v ./...