Skip to content

Commit be8cb74

Browse files
author
Amir Omidi
authored
Integrate with goreleaser (letsencrypt#5654)
* Integrate with goreleaser to make building and deployment of Boulder components easier.
1 parent 52c865f commit be8cb74

File tree

2 files changed

+456
-0
lines changed

2 files changed

+456
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: GoReleaser CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release-branch-*
8+
pull_request:
9+
branches:
10+
- '**'
11+
workflow_dispatch:
12+
13+
jobs:
14+
goreleaser_ci_build:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
go-version: [1.17.0]
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v2
23+
24+
- name: Install go
25+
uses: actions/setup-go@v2
26+
with:
27+
go-version: ${{ matrix.go-version }}
28+
29+
- name: Run GoReleaser
30+
uses: goreleaser/goreleaser-action@v2
31+
with:
32+
distribution: goreleaser
33+
version: latest
34+
args: release --rm-dist --skip-publish --skip-sign --skip-validate

0 commit comments

Comments
 (0)