Add simple logging #11
Workflow file for this run
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: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
- name: Check go fmt | |
run: | | |
task check-format | |
- name: Check linting | |
run: | | |
task lint | |
build: | |
needs: [lint] | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
- name: Build Binary | |
run: | | |
task build-all | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
if: github.event_name == 'pull_request' | |
with: | |
commit_message: Update compiled binaries | |
file_pattern: "bin/*" |