Skip to content

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

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

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

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.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --enable-all --timeout 10m
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: extractions/setup-just@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- 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