Skip to content

generate dependabot and golangci-lint github action configs #171

generate dependabot and golangci-lint github action configs

generate dependabot and golangci-lint github action configs #171

Workflow file for this run

name: PR
on:
pull_request:
workflow_dispatch:
inputs:
make-flags:
description: additional flags to supply to make
required: false
default: DOCKER_GENERATOR=infoblox/atlas-gentool:latest
jobs:
test:
name: Test with integration
runs-on: ubuntu-latest
timeout-minutes: 20
env:
HELM_VERSION: v3.4.2
steps:
- uses: actions/setup-go@v3
- uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- name: Checkout code
uses: actions/checkout@v3
with:
path: ./src/github.com/${{ github.repository }}
- run: go version
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
${{ github.workspace }}/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: echo ${{ github.workspace }}/bin >> $GITHUB_PATH
- name: Test
working-directory: ./src/github.com/${{ github.repository }}
env:
GOPATH: ${{ github.workspace }}
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
make test-with-integration ${{ github.event.inputs.make-flags }}