Skip to content

Commit

Permalink
Update validator.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hooverdan96 committed Nov 15, 2024
1 parent 0e6b08c commit 4d5099c
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/validator.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,16 @@
# Use rockon-validator repo to validate style and completeness of new Rockon submissions
# Thanks to @StephenBrown2 for donating original validation repository to the Rockstor project.

name: rockon-validator

on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "add_validator_action" ]
pull_request:
branches: [ "add_validator_action" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# This workflow contains a single job called "validate"
validate:
name: rockon validator
name: runner / suggester / validator
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# install the latest version of Rockon validator
#- name: Setup latest Rockon validator
- uses: actions/checkout@v3
- run: go install github.com/rockstor/rockon-validator@latest

# Runs a set of commands using the runners shell
#- name: run validation (no rewrite)
- run: rockon-validator -w .
- uses: reviewdog/action-suggester@v1
with:
Expand Down

0 comments on commit 4d5099c

Please sign in to comment.