1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
fbac78759b
ci: rename go.yaml to build.yaml
All checks were successful
Build / build (push) Successful in 26s
2024-12-27 14:45:28 +01:00
383b3781c4
ci: use goreleaser in build workflow 2024-12-27 14:44:39 +01:00

View File

@ -1,4 +1,4 @@
name: Go name: Build
on: on:
push: push:
@ -13,18 +13,19 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v5
with: with:
go-version: '1.23.4' go-version: stable
- name: Build - name: Build
run: go build -v ./... uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: build --clean --snapshot
- name: Test - name: Upload binares as artifact
run: go test -v ./...
- name: Upload binary as artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: licensmith name: licensmith
path: licensmith path: dist/