Skip to content

Commit

Permalink
Merge pull request #178 from kajinamit/gh-workflow
Browse files Browse the repository at this point in the history
Remove duplicate jobs from github workflow
  • Loading branch information
openshift-merge-robot authored Jul 14, 2023
2 parents 1b3b980 + 62c3bc1 commit 53db33c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 53 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/golangci-lint.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/lints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Lints

on: [pull_request]

jobs:
check-go-mod-replace-lines:
name: check for replace lines in go.mod files
runs-on: ubuntu-latest
steps:
- name: Checkout project code
uses: actions/checkout@v3
- name: check for replace lines in go.mod files
run: |
! egrep --invert-match -e '^replace.*/api => \./api|^replace.*//allow-merging$' `find . -name 'go.mod'` | egrep -e 'go.mod:replace'

0 comments on commit 53db33c

Please sign in to comment.