Skip to content

Provide tar for unpacking binaries #94

Provide tar for unpacking binaries

Provide tar for unpacking binaries #94

Workflow file for this run

name: Test
on:
push:
branches:
- main
- release-[0-9]+.[0-9]+
pull_request:
branches:
- main
- release-[0-9]+.[0-9]+
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Lint
run: |
go mod verify
make lint
make fmt
git diff --exit-code
- name: GoSec Scan
run: |
make gosec-scan
- name: Validate Dockerfile sync
run: |
diff \
<(grep -v "^FROM .* builder$" Dockerfile) \
<(grep -v "^FROM .* builder$" Dockerfile.rhtap)
test:
runs-on: ubuntu-latest
name: Test
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build image
run: |
CONTAINER_ENGINE=docker make build-image
- name: Test image
run: |
make e2e-test