diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..90658bb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: build + +on: + push: + branches: + # - main + - create-workflow + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set linter directories + run: | + IFS=' ' LINTER_DIRS=($(find . -maxdepth 1 -type d -not -name '.*' -exec basename {} \; | tr '\n' ' ')) + + - run: for i in $LINTER_DIRS; do echo "--$i--"; done + + # - uses: dorny/paths-filter@v3 + # id: changes + # with: + # filters: | + # linter_dirs: + # - ${{ join(fromJson(env.LINTER_DIRS), '/**\n- ') }}/** + + # - run: | + # echo "Changed directories: ${{ steps.changes.outputs.linter_dirs }}" diff --git a/.github/xz.yml b/.github/xz.yml new file mode 100644 index 0000000..16b7572 --- /dev/null +++ b/.github/xz.yml @@ -0,0 +1,4 @@ +--- + +- sss +- ddd diff --git a/eslint/app/test b/eslint/app/test new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/eslint/app/test @@ -0,0 +1 @@ +2 diff --git a/multi-language/app/java/test b/multi-language/app/java/test new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/multi-language/app/java/test @@ -0,0 +1 @@ +2