Skip to content

Merge pull request #4 from traPtitech/feat/use.env_file.in.docker.com… #65

Merge pull request #4 from traPtitech/feat/use.env_file.in.docker.com…

Merge pull request #4 from traPtitech/feat/use.env_file.in.docker.com… #65

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
- run: make mod
- run: make build
lint:
name: Lint
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
- uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=10m
# test-unit:
# name: Unit Test
# runs-on: ubuntu-latest
# needs:
# - build
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v4
# with:
# go-version-file: ./go.mod
# - run: make test-unit
#
# test-integration:
# name: Integration Test
# runs-on: ubuntu-latest
# needs:
# - build
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v4
# with:
# go-version-file: ./go.mod
# - run: make test-integration