Fix goreleaser config (#39) #96
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: "Test the build" | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: test if ecs-tool can be built | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: checkout | |
uses: actions/checkout@v2 | |
- | |
name: set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.15.x | |
- | |
name: cache modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- | |
name: download dependencies | |
run: go mod download | |
- | |
name: build the app | |
run: go build |