CI #1209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 12 * * *' # Every day noon UTC | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Make "git describe" work | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '*' # Build on latest Go release so we catch breakage | |
- run: go version | |
- run: sudo apt-get -qq install attr bats | |
- run: make | |
- run: make test | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: cshatag static binary | |
path: cshatag |