Skip to content

Bump hashicorp/setup-terraform from 2.0.0 to 3.1.0 #135

Bump hashicorp/setup-terraform from 2.0.0 to 3.1.0

Bump hashicorp/setup-terraform from 2.0.0 to 3.1.0 #135

Workflow file for this run

name: Go
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
env:
GOPRIVATE: github.com/Mirantis/mcc
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Setup MCC gitub repo private access
run: git config --global url."https://${{ secrets.GH_MCC_USERNAME }}:${{ secrets.GH_MCC_ACCESS_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...