Skip to content

Commit

Permalink
WIP add submodule test and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kernle32dll committed Apr 21, 2024
1 parent 8026c9c commit 29c38ac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ name: golangci-lint
on: [ push ]
jobs:
golangci:
strategy:
matrix:
working-dir: [
'.',
'tenant'
]

defaults:
run:
working-directory: ${{ matrix.working-dir }}

name: Lint
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,20 @@ jobs:
macos-latest,
windows-latest,
]
working-dir: [
'.',
'tenant'
]

defaults:
run:
working-directory: ${{ matrix.working-dir }}

runs-on: ${{ matrix.os }}

env:
OS: ${{ matrix.os }}
WORKING_DIR: ${{ matrix.working-dir }}

steps:
- name: Checkout
Expand All @@ -35,5 +44,5 @@ jobs:
with:
file: coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS
env_vars: OS,WORKING_DIR

0 comments on commit 29c38ac

Please sign in to comment.