Skip to content

build(deps): bump github.com/charmbracelet/glamour from 0.7.0 to 0.8.0 #16

build(deps): bump github.com/charmbracelet/glamour from 0.7.0 to 0.8.0

build(deps): bump github.com/charmbracelet/glamour from 0.7.0 to 0.8.0 #16

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
tags:
- "*"
permissions:
contents: write
jobs:
test:
services:
postgres:
image: postgres:latest
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
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: stable
- name: Run tests
run: go test -v ./...
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
lint:
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: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
install-mode: goinstall
version: latest
goreleaser:
runs-on: ubuntu-latest
needs: [ test, lint ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/v')
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}