1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-12 15:26:48 +01:00
bitwarden-server/.github/workflows/linter.yml

28 lines
613 B
YAML
Raw Normal View History

---
2021-08-23 21:37:00 +02:00
name: Workflow Linter
on:
push:
branches: add-workflow-linter
# branches-ignore:
# - 'l10n_master'
# - 'gh-pages'
# workflow_dispatch:
# inputs: {}
2021-08-23 21:37:00 +02:00
jobs:
cloc:
name: CLOC
runs-on: ubuntu-20.04
2021-08-23 21:37:00 +02:00
steps:
- name: Checkout repo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
2021-08-23 21:37:00 +02:00
- 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