2021-10-06 12:43:18 -07:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- 'README.md'
|
|
|
|
- 'CONTRIBUTING.md'
|
|
|
|
- 'COPYING'
|
2022-05-12 22:54:59 -07:00
|
|
|
- 'website/**'
|
2021-10-06 12:43:18 -07:00
|
|
|
- '.github/*.md'
|
|
|
|
- '.github/FUNDING.yml'
|
|
|
|
|
|
|
|
name: Build Code
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2021-12-16 10:59:45 -08:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: pwsh
|
2021-10-06 12:43:18 -07:00
|
|
|
steps:
|
2021-12-19 02:28:46 -08:00
|
|
|
- name: Checkout code 👋
|
2022-12-12 16:40:17 -08:00
|
|
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
2021-12-19 02:28:46 -08:00
|
|
|
- name: Install Go 🗳
|
|
|
|
uses: ./.github/workflows/composite/bootstrap-go
|
|
|
|
- name: Run GoReleaser 🚀
|
2022-10-17 17:43:54 -07:00
|
|
|
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757
|
2021-10-06 12:43:18 -07:00
|
|
|
with:
|
|
|
|
distribution: goreleaser
|
|
|
|
version: latest
|
2022-08-26 12:51:47 -07:00
|
|
|
args: build --rm-dist --snapshot --skip-post-hooks --skip-before
|
2021-10-06 12:43:18 -07:00
|
|
|
workdir: src
|