Skip to content

Commit

Permalink
Merge pull request #282 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 28, 2023
2 parents f2d0cef + 63b3c64 commit 17d3db3
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 17d3db3

Please sign in to comment.