From 55613f308e4475efd108611066598107e86ca1cb Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Tue, 7 Nov 2023 14:24:29 +0000 Subject: [PATCH] ci: eslint --max-warnings 0 --- .github/workflows/ci.yml | 2 +- .github/workflows/customer-docker.yml | 2 +- .github/workflows/dev-docker.yml | 2 +- .github/workflows/flow.yml | 4 ++-- .github/workflows/golang-lint.yml | 2 +- .github/workflows/rust-lint.yml | 2 +- .github/workflows/stable-docker.yml | 2 +- .github/workflows/ui-build.yml | 2 +- .github/workflows/ui-lint.yml | 4 +++- 9 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 872c859304..628d5a5cb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: --health-timeout 5s --health-retries 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/customer-docker.yml b/.github/workflows/customer-docker.yml index 026e70c7f8..f8c6ae2781 100644 --- a/.github/workflows/customer-docker.yml +++ b/.github/workflows/customer-docker.yml @@ -19,7 +19,7 @@ jobs: packages: write steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/dev-docker.yml b/.github/workflows/dev-docker.yml index 1a8e64a876..8d4352004e 100644 --- a/.github/workflows/dev-docker.yml +++ b/.github/workflows/dev-docker.yml @@ -17,7 +17,7 @@ jobs: packages: write steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 66cb684937..54887adeac 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -31,11 +31,11 @@ jobs: --health-retries 5 steps: - name: checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions/setup-go@v3 with: - go-version: ">=1.19.0" + go-version: ">=1.21.0" - name: install gotestsum run: | diff --git a/.github/workflows/golang-lint.yml b/.github/workflows/golang-lint.yml index fd685d8c44..65da8f7e4d 100644 --- a/.github/workflows/golang-lint.yml +++ b/.github/workflows/golang-lint.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.runner }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/rust-lint.yml b/.github/workflows/rust-lint.yml index 01c3dde174..3e67d54be5 100644 --- a/.github/workflows/rust-lint.yml +++ b/.github/workflows/rust-lint.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.runner }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/stable-docker.yml b/.github/workflows/stable-docker.yml index 79e9017cea..48f9faa113 100644 --- a/.github/workflows/stable-docker.yml +++ b/.github/workflows/stable-docker.yml @@ -16,7 +16,7 @@ jobs: packages: write steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/ui-build.yml b/.github/workflows/ui-build.yml index c21c1e1fad..3a6228e2dc 100644 --- a/.github/workflows/ui-build.yml +++ b/.github/workflows/ui-build.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.runner }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js dependencies working-directory: ui diff --git a/.github/workflows/ui-lint.yml b/.github/workflows/ui-lint.yml index 213ebef34b..ba895eb782 100644 --- a/.github/workflows/ui-lint.yml +++ b/.github/workflows/ui-lint.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.runner }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js dependencies working-directory: ui @@ -34,3 +34,5 @@ jobs: prettier: true eslint_dir: ui prettier_dir: ui + eslint_args: "--max-warnings 0" + eslint_extensions: js,ts,jsx,tsx