diff --git a/.github/workflows/lint.yml b/.github/workflows/lint-go.yml similarity index 81% rename from .github/workflows/lint.yml rename to .github/workflows/lint-go.yml index 8a2c0095..8777774c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint-go.yml @@ -5,7 +5,7 @@ on: - main pull_request: paths: - - ".github/workflows/lint.yml" + - ".github/workflows/lint-go.yml" - "pkg/**" - "cmd/**" - "dev/**" @@ -17,14 +17,10 @@ permissions: contents: read jobs: lint: - name: Lint + name: Lint-Go runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: shellcheck - run: | - sudo apt-get -y install tree - dev/lint-shellcheck - uses: actions/setup-go@v3 with: go-version-file: go.mod diff --git a/.github/workflows/lint-spellcheck.yml b/.github/workflows/lint-spellcheck.yml new file mode 100644 index 00000000..af31f544 --- /dev/null +++ b/.github/workflows/lint-spellcheck.yml @@ -0,0 +1,19 @@ +name: Lint +on: + push: + branches: + - main + pull_request: + paths: + - ".github/workflows/lint-spellcheck.yml" + - "dev/**" +jobs: + lint-spellcheck: + name: Lint Spellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: shellcheck + run: | + sudo apt-get -y install tree + dev/lint-shellcheck