Skip to content

build(deps): bump actions/setup-go from 3.2.1 to 4.1.0 #214

build(deps): bump actions/setup-go from 3.2.1 to 4.1.0

build(deps): bump actions/setup-go from 3.2.1 to 4.1.0 #214

Workflow file for this run

name: ci
permissions:
contents: write
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.18
- uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go mod download
- run: go fmt ./...
- run: go vet .
- run: go build -v .
- run: go test -v -cover ./...
env:
TF_ACC: '1'