Skip to content

ci: bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 #78

ci: bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0

ci: bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 #78

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v5
with:
go-version: ">=1.20.0"
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v5
with:
go-version: ">=1.20.0"
- name: Create snapshot release
uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0
with:
distribution: goreleaser
version: "~> v2"
args: release --snapshot --clean