Skip to content

Commit

Permalink
chore: yaml stylish changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-gg-dev committed Mar 7, 2024
1 parent 409d901 commit d2b2bc4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 24 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: Editorconfig Linter

on:
pull_request:
push:
branches:
- main

name: Editorconfig Linter

jobs:

tests:
linter:
name: "Run Lint on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run Linter
uses: editorconfig-checker/action-editorconfig-checker@main
run: editorconfig-checker

15 changes: 9 additions & 6 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: Static Analysis

on:
pull_request:
push:
branches:
- main

name: Static analysis

jobs:

shellcheck:
name: ShellCheck
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest' ]
os:
- ubuntu-latest
- macos-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: Tests

on:
pull_request:
push:
branches:
- main

name: Tests

jobs:

tests:
name: "Run tests on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest']
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- os: windows-latest
script_name: 'bash -c "./bashunit tests/**/*_test.sh"'
Expand All @@ -24,7 +24,11 @@ jobs:
- os: macos-latest
script_name: 'make test'
steps:
- uses: actions/checkout@v4
- name: "Tests"
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run Tests
run: ${{ matrix.script_name }}

0 comments on commit d2b2bc4

Please sign in to comment.