Skip to content

Merge pull request #5 from cybozu-go/migrate-to-ghcr #26

Merge pull request #5 from cybozu-go/migrate-to-ghcr

Merge pull request #5 from cybozu-go/migrate-to-ghcr #26

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: make docker-build
test:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: make setup
- run: make test
e2e:
name: End-to-End Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: make setup
working-directory: e2e
- run: make start
working-directory: e2e
- run: make test
working-directory: e2e