Skip to content

Commit

Permalink
Go Linter Github action (#283)
Browse files Browse the repository at this point in the history
* Usess re-usable linter

Signed-off-by: Yukesh Kumar <[email protected]>

Co-authored-by: Yuvraj <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
2 people authored and eapolinario committed Sep 13, 2023
1 parent b84f87b commit cf47b38
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions flyteidl/.github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,18 @@ on:
- master

jobs:
tests-lint:
name: Run tests and lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Unit Tests
uses: cedrickring/[email protected]
env:
GO111MODULE: "on"
with:
args: make install && make test_unit
- name: Lint
uses: cedrickring/[email protected]
env:
GO111MODULE: "on"
with:
args: make install && make lint
lint:
name: Lint
uses: flyteorg/flytetools/.github/workflows/lint.yml@master
with:
go-version: 1.16
tests:
name: Unit Tests
uses: flyteorg/flytetools/.github/workflows/tests.yml@master
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
with:
go-version: 1.16
generate-protos:
runs-on: ubuntu-latest
name: Generate Protos
Expand Down

0 comments on commit cf47b38

Please sign in to comment.