Skip to content

feat(integration-tests): adding boilerplate for integration tests #21

feat(integration-tests): adding boilerplate for integration tests

feat(integration-tests): adding boilerplate for integration tests #21

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
fmt:
name: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: '1.22.3'
- run: test -z $(gofmt -l .)
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
go-version: '1.22.3'
cache: true
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/[email protected]
with:
version: latest
test:
needs: [fmt, lint]
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build test container
run: make build/test
- name: Run Tests
run: make test
build:
needs: unit-test

Check failure on line 44 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 44, Col: 12): Job 'build' depends on unknown job 'unit-test'.
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build container
run: make build