Merge pull request #1634 from okta/dependabot/go_modules/github.com/o… #842
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: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: Setup Go Tools | |
run: make tools | |
- name: Check Formatting | |
run: make fmtcheck | |
- name: Vet Code | |
run: make vet | |
# skip there is a bug in https://github.com/bflad/tfproviderlint/issues/255 | |
#- name: Lint Code | |
# run: make lint | |
- name: Check Build | |
run: make build | |
- name: Test | |
run: make test |