Skip to content

Merge pull request #1343 from shipwright-io/dependabot/go_modules/git… #1654

Merge pull request #1343 from shipwright-io/dependabot/go_modules/git…

Merge pull request #1343 from shipwright-io/dependabot/go_modules/git… #1654

Workflow file for this run

name: Verify
on:
push:
tags-ignore:
- '**'
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: go/src/github.com/shipwright-io/build
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.19.x'
cache: true
check-latest: true
cache-dependency-path: go/src/github.com/shipwright-io/build
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: go/src/github.com/shipwright-io/build
args: --timeout=10m
- name: Install Counterfeiter
run: |
make -C go/src/github.com/shipwright-io/build install-counterfeiter
- name: Run verify-generate
run: |
export GOPATH="${GITHUB_WORKSPACE}"/go
make -C $GOPATH/src/github.com/shipwright-io/build verify-generate