DXE-2867 Merge pull request #454 from akamai/release/v5.1.0 #66
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: build | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: Prepare env | |
run: make init | |
- name: Prepare terraform tools | |
run: make tools.terraform | |
- name: Prepare dummy edgerc | |
run: make dummy-edgerc | |
- name: Run checks | |
run: make check | |
- name: Create build | |
run: make build | |
- name: Run tests | |
run: make test | |
- name: Run terraform-fmt | |
run: make terraform-fmt | |
- name: Run terraform lint | |
run: make terraform-lint |