Skip to content

Commit

Permalink
Add simple CI workflow (only building)
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Jul 17, 2023
1 parent e58440b commit 1b513eb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Allow goreleaser to access older tag information.
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: true
- name: Build for single target with GoReleaser
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
with:
args: build --clean --snapshot --single-target

0 comments on commit 1b513eb

Please sign in to comment.