Skip to content

Commit efa589c

Browse files
authored
super-linter追加 (#7)
* inputの命名規則統一 * super-linter追加 * 処理修正 * 処理修正
1 parent 647da3d commit efa589c

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

.github/workflows/super-linter.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
#################################
3+
#################################
4+
## Super Linter GitHub Actions ##
5+
#################################
6+
#################################
7+
name: Lint Code Base
8+
9+
#
10+
# Documentation:
11+
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
12+
#
13+
14+
#############################
15+
# Start the job on all push #
16+
#############################
17+
on:
18+
push:
19+
branches:
20+
- main
21+
pull_request:
22+
23+
###############
24+
# Set the Job #
25+
###############
26+
jobs:
27+
build:
28+
# Name the Job
29+
name: Lint Code Base
30+
# Set the agent to run on
31+
runs-on: ubuntu-latest
32+
33+
##################
34+
# Load all steps #
35+
##################
36+
steps:
37+
##########################
38+
# Checkout the code base #
39+
##########################
40+
- name: Checkout Code
41+
uses: actions/checkout@v3.0.2
42+
with:
43+
# Full git history is needed to get a proper list
44+
# of changed files within `super-linter`
45+
fetch-depth: 0
46+
47+
################################
48+
# Run Linter against code base #
49+
################################
50+
- name: Lint Code Base
51+
uses: github/super-linter/slim@v4.9.4
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
LINTER_RULES_PATH: .

0 commit comments

Comments
 (0)