Skip to content

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

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

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

Workflow file for this run

---
name: test
on:
- push
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --enable-all --timeout 10m
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- run: curl -sSf 'https://atlasgo.sh?test=1' | env ATLAS_DEBUG=true sh
- run: docker compose up --wait
- run: atlas migrate apply --env local
- run: go run cmd/cli/main.go