Skip to content

Commit

Permalink
Added linters
Browse files Browse the repository at this point in the history
  • Loading branch information
kse3hi committed Nov 28, 2023
1 parent fe1cb62 commit beaacec
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v4

- name: Run linters
uses: pre-commit/[email protected]

- name: Setup Hugo
uses: peaceiris/[email protected]
with:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright (c) 2022-2023 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0

name: CI workflow

on:
workflow_dispatch:
pull_request:
branches:
- main

jobs:
lint-job:
runs-on: ubuntu-latest
name: "Run linters"

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v4

- name: Run linters
uses: pre-commit/[email protected]

0 comments on commit beaacec

Please sign in to comment.