Skip to content

Change postgres lib, handle some cmd functionalities (#37) #18

Change postgres lib, handle some cmd functionalities (#37)

Change postgres lib, handle some cmd functionalities (#37) #18

Workflow file for this run

name: Create Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'
- name: Make script executable
run: chmod +x ./scripts/completions.sh
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
workdir: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: |
go test ./...