Skip to content

Commit

Permalink
Setup test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
faabiosr committed Oct 30, 2022
1 parent fa22870 commit 9808a5d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,29 @@
name: test

on:
push:
branches:
- develop

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout the code
uses: actions/checkout@v3

- name: unshallow
run: git fetch --prune --unshallow

- name: setup go
uses: actions/setup-go@v3
with:
go-version: '1.19.x'

- name: run goreleaser
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --snapshot --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9808a5d

Please sign in to comment.