Skip to content

[UPDATE] remove test from build #24

[UPDATE] remove test from build

[UPDATE] remove test from build #24

name: GO
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
strategy:
matrix:
go-version: [1.23.0]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build
goreleaser:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.0

Check failure on line 35 in .github/workflows/build-publish-deploy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-publish-deploy.yaml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: v1.9.2
args: release --rm-dist
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
CGO_ENABLED: 0