set default timeouts for org unit and chrome policy create/update req… #10
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: Unit tests | |
on: | |
push: | |
paths: | |
- '**.go' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**.go' | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.17.9' | |
id: go | |
- name: Go mod verify | |
run: go mod verify | |
- name: Run unit tests | |
run: | |
make test |