Skip to content

Merge pull request #1 from 1995parham-teaching/dependabot/go_modules/… #7

Merge pull request #1 from 1995parham-teaching/dependabot/go_modules/…

Merge pull request #1 from 1995parham-teaching/dependabot/go_modules/… #7

Workflow file for this run

---
name: ci
on:
- push
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
- run: docker-compose up -d
- run: go run main.go migrate
- run: go run main.go setup