Merge pull request #12 from dvonthenen/update-docs #2
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: Check - All linters, etc | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
tags-ignore: | |
- "**" | |
jobs: | |
build: | |
name: Change to Main/Release Branch | |
# Only run this job if we're in the main repo, not a fork. | |
if: github.repository == 'deepgram-devs/deepgram-cli' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code by commit | |
uses: actions/checkout@v4 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.19" | |
id: go | |
- name: Ensure dependencies installed | |
shell: bash | |
run: | | |
make ensure-deps | |
- name: Run all checks | |
shell: bash | |
run: | | |
make check |