Skip to content

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
Signed-off-by: NxPKG <116948796+NxPKG@users.noreply.github.com>
  • Loading branch information
NxPKG authored Nov 23, 2023
1 parent 87bb3a5 commit faf4188
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Make
on:
workflow_dispatch:
inputs:
distro:
type: choice
description: Distro Image to Debug
required: true
options:
- build
- lint
- lintfix
jobs:
build:
if: ${{ github.event.inputs.distro == 'build' }}
runs-on: ubuntu-latest
steps:
- name: Build the binary
run: make build

lint:
if: ${{ github.event.inputs.distro == 'lint' }}
runs-on: ubuntu-latest
steps:
- name: Lint
run: make lint

lintfix:
if: ${{ github.event.inputs.distro == 'lintfix' }}
runs-on: ubuntu-latest
steps:
- name: Lintfix
run: make lintfix

0 comments on commit faf4188

Please sign in to comment.