Skip to content

Commit 6f39dbd

Browse files
author
chenguanglin
committed
2 parents 5cd5620 + 8cd3560 commit 6f39dbd

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/linter.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- uses: actions/checkout@v2
24+
25+
# Runs a single command using the runners shell
26+
- name: Run a one-line script
27+
run: echo Hello, world!
28+
29+
# Runs a set of commands using the runners shell
30+
- name: Run a multi-line script
31+
run: |
32+
echo Add other actions to build,
33+
echo test, and deploy your project.
34+
################################
35+
# Run Linter against code base #
36+
################################
37+
- name: Lint Code Base
38+
uses: docker://github/super-linter:v3
39+
env:
40+
VALIDATE_ALL_CODEBASE: false
41+
DEFAULT_BRANCH: master

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy