perf: workflows

This commit is contained in:
liyasthomas
2021-09-02 20:33:34 +05:30
parent 91abdd5415
commit 94fcc0a6a9
6 changed files with 48 additions and 57 deletions

2
.github/FUNDING.yml vendored
View File

@@ -1,4 +1,2 @@
github: hoppscotch github: hoppscotch
open_collective: hoppscotch open_collective: hoppscotch
patreon: liyasthomas
custom: https://www.paypal.me/liyascthomas

View File

@@ -1,62 +1,61 @@
# For most projects, this workflow file will not need changing; you simply need name: "Code Scanning - Action"
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on: on:
push: push:
branches: [main] branches: [main]
pull_request: pull_request:
# The branches below must be a subset of the branches above
branches: [main] branches: [main]
schedule: schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '0 0 * * 6' - cron: '0 0 * * 6'
jobs: jobs:
analyze: CodeQL-Build:
name: Analyze # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: permissions:
fail-fast: false # required for all workflows
matrix: security-events: write
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] # only required for workflows in private repositories
language: ['javascript'] actions: read
# Learn more... contents: read
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v1
with: # Override language selection by uncommenting this and choosing your languages
languages: ${{ matrix.language }} # with:
# If you wish to specify custom queries, you can do so here or in a config file. # languages: go, javascript, csharp, python, cpp, java
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below) # If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@v1 uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines # ✏️ If the Autobuild fails above, remove it and uncomment the following
# and modify them (or add more) to build your code if your project # three lines and modify them (or add more) to build your code if your
# uses a compiled language # project uses a compiled language
#- run: | #- run: |
# make bootstrap # make bootstrap
# make release # make release
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@v1

View File

@@ -1,13 +1,12 @@
# This file was auto-generated by the Firebase CLI name: Deploy to Live Channel
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge on:
'on':
push: push:
branches: branches:
- main - main
jobs: jobs:
build_and_deploy: deploy_live_website:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@@ -1,8 +1,3 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Publish Docker image name: Publish Docker image
on: on:

View File

@@ -18,7 +18,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm ci - run: npm ci

View File

@@ -263,8 +263,8 @@ _Add-ons are developed and maintained under **[Hoppscotch Organization](https://
🚚 **Bulk Edit:** Edit key-value pairs in bulk. 🚚 **Bulk Edit:** Edit key-value pairs in bulk.
- Entries are separated by newline - Entries are separated by newline
- Keys and values are separated by : - Keys and values are separated by `:`
- Prepend // to any row you want to add but keep disabled - Prepend `//` to any row you want to add but keep disabled
**For more features, please read our [documentation](https://docs.hoppscotch.io).** **For more features, please read our [documentation](https://docs.hoppscotch.io).**