Skip to content

Commit

Permalink
Merge branch 'main' of github.com:waisbrot/birdweather-daily-email in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
waisbrot committed Dec 27, 2023
2 parents 36e99af + db0d2e2 commit f24a834
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: gz
GHR_PATH: birdweather_daily_email
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f24a834

Please sign in to comment.