Skip to content

Commit

Permalink
Update GH action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed May 28, 2021
1 parent 98b23fa commit ed68bf6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint
on:
pull_request:
branches:
- master

jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
command:
- lint_jsonnet
- lint_yaml
- docs-vale
steps:
- uses: actions/checkout@v2
- name: Run ${{ matrix.command }}
run: make ${{ matrix.command }}
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: snow-actions/eclint@v1.0.1
with:
args: 'check'
17 changes: 4 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
name: Pull Request
name: Test
on:
pull_request:
branches:
- master

jobs:
linting:
compile:
runs-on: ubuntu-latest
strategy:
matrix:
command:
- lint_jsonnet
- lint_yaml
- docs-vale
- compile
steps:
- uses: actions/checkout@v2
- name: Run ${{ matrix.command }}
- name: Run 'make ${{ matrix.command }}'
run: make ${{ matrix.command }}
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: snow-actions/eclint@v1.0.1
with:
args: 'check'

0 comments on commit ed68bf6

Please sign in to comment.