forked from kubernetes-sigs/aws-encryption-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 659 Bytes
/
ci.yaml
File metadata and controls
26 lines (26 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: CI build
on:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build with Goreleaser
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --snapshot --skip-publish --rm-dist