Skip to content

KUBESAW-173: Create GH Actions workflow running verify-replace-run target #5

KUBESAW-173: Create GH Actions workflow running verify-replace-run target

KUBESAW-173: Create GH Actions workflow running verify-replace-run target #5

name: verify-dependencies
on:
push:
branches:
- master
tags-ignore:
- '*.*'
pull_request:
branches:
- master
jobs:
verify-dependencies:
name: Verify Dependencies
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.63.1
- name: Verify
run: |
make verify-replace-run