Skip to content

refactor: edit command and docs #13

refactor: edit command and docs

refactor: edit command and docs #13

Workflow file for this run

name: ci
on:
pull_request:
permissions:
contents: write
packages: write
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
cache: true
- name: Test
run: go test -v ./...
goreleaser:
name: Build binaries
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
cache: true
- name: Run GoReleaser build and publish tags
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean --skip=publish
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: migraterr
path: dist/*