mirror of
https://github.com/bitwarden/server.git
synced 2024-11-24 12:35:25 +01:00
Add Linter Workflow Template (#1532)
This commit is contained in:
parent
bc003c4449
commit
a0a5ddef77
26
.github/workflows/linter.yml
vendored
Normal file
26
.github/workflows/linter.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Workflow Linter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: add-workflow-linter
|
||||
# branches-ignore:
|
||||
# - 'l10n_master'
|
||||
# - 'gh-pages'
|
||||
# workflow_dispatch:
|
||||
# inputs: {}
|
||||
|
||||
jobs:
|
||||
cloc:
|
||||
name: CLOC
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- name: Install cloc
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install cloc
|
||||
|
||||
- name: Print lines of code
|
||||
run: cloc --include-lang C#,SQL,Razor,"Bourne Shell",PowerShell,HTML,CSS,Sass,JavaScript,TypeScript --vcs git
|
Loading…
Reference in New Issue
Block a user