Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Go Linter Github action #283

Merged
merged 6 commits into from
Apr 12, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 12 additions & 20 deletions .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
yindia marked this conversation as resolved.
Show resolved Hide resolved
tests:
name: Unit Tests
yindia marked this conversation as resolved.
Show resolved Hide resolved
uses: flyteorg/flytetools/.github/workflows/tests.yml@master
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
with:
go-version: 1.16
yindia marked this conversation as resolved.
Show resolved Hide resolved
generate-protos:
runs-on: ubuntu-latest
name: Generate Protos
Expand Down