make git-sync and git-fetch work without arguments by defaulting to .
#120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
# yamllint disable-line rule:truthy | |
on: [ push, pull_request, workflow_dispatch ] | |
permissions: | |
contents: read | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run EditorConfig Checker | |
run: | | |
curl --fail --silent --show-error --location --output ec.tar.gz \ | |
https://github.com/editorconfig-checker/editorconfig-checker/releases/download/v3.0.3/ec-linux-amd64.tar.gz | |
tar -xzf ec.tar.gz | |
chmod +x ./bin/ec-linux-amd64 | |
./bin/ec-linux-amd64 --exclude .git | |
- name: Run yamllint | |
run: | | |
pip install yamllint | |
yamllint . | |
- uses: ludeeus/action-shellcheck@2.0.0 | |
- uses: DavidAnson/markdownlint-cli2-action@v16 | |
- name: PSScriptAnalyzer | |
shell: pwsh | |
run: | | |
Invoke-ScriptAnalyzer -Path .\ -Settings PSGallery -Recurse | |
- name: Run Taplo | |
run: | | |
curl --fail --silent --show-error --location --output taplo.gz \ | |
https://github.com/tamasfe/taplo/releases/download/0.8.1/taplo-full-linux-x86_64.gz | |
gunzip --decompress taplo.gz | |
chmod +x taplo | |
./taplo fmt --check | |
./taplo check --default-schema-catalogs |