Skip to content

Commit

Permalink
Merge pull request #11 from githubschool/CT
Browse files Browse the repository at this point in the history
add ct file
  • Loading branch information
fjk211 authored Oct 13, 2021
2 parents 9d9c9af + 98d7cf5 commit 13ba6ca
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/ct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
########
########
## CT ##
########
########
name: Continuous Testing

#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#

#############################
# Start the job on all push #
#############################
# Don't need to run on push to master/main
on:
push:
branches-ignore:
- 'master'
- 'main'

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: CT
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 13ba6ca

Please sign in to comment.