Skip to content

Bump golangci/golangci-lint-action from 3.7.0 to 6.1.1 #112

Bump golangci/golangci-lint-action from 3.7.0 to 6.1.1

Bump golangci/golangci-lint-action from 3.7.0 to 6.1.1 #112

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@v3
- 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 ./...