Allow Upsertion of Checks (#3) #17
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
# Tessellated Standard Build: | |
# - run build, test, lint | |
name: Continuous Integration | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- "v*" | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check-weather-watch: | |
strategy: | |
matrix: | |
make_action: ["build", "lint"] | |
runs-on: ubuntu-latest | |
name: "${{matrix.make_action}} healthchecks" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.21' | |
- name: Set up private repo access | |
run: | | |
git config --global url."https://${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_GO_PACKAGES }}@github.com/".insteadOf "https://github.com/" | |
- name: "${{matrix.make_action}} Code" | |
run: make ${{matrix.make_action}} | |