Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
A
AnimeThesaurus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
AnimeThesaurus
Commits
b7c30181
Commit
b7c30181
authored
Aug 21, 2021
by
Kyomotoi
Committed by
GitHub
Aug 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
🚀
添加1个检查json格式的github action @mnixry
parents
cd06e53b
2cb6826d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
.github/workflows/check.yml
.github/workflows/check.yml
+32
-0
No files found.
.github/workflows/check.yml
0 → 100644
View file @
b7c30181
# This is a basic workflow to help you get started with Actions
name
:
Check JSON Format
# Controls when the action will run.
on
:
# Triggers the workflow on push or pull request events but only for the main branch
push
:
branches
:
[
main
]
pull_request
:
branches
:
[
main
]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch
:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs
:
# This workflow contains a single job called "build"
build
:
# The type of runner that the job will run on
runs-on
:
ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps
:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
-
run
:
|
cat data.json | python -m json.tool | tee data.json
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment