Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

ci: use latest workflow version - superseded #2754

Liyas Thomas8f2810db3082
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 7bbb9ca25..ab9c411a2 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -42,7 +42,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
# Run extended queries including queries using machine learning
queries: security-extended
@@ -55,7 +55,7 @@ jobs:
# 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)
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml
index 8db04ea12..3a111d765 100644
--- a/.github/workflows/deploy-prod.yml
+++ b/.github/workflows/deploy-prod.yml
@@ -9,8 +9,11 @@ jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- - uses: FirebaseExtended/action-hosting-deploy@v0
+ - name: Checkout Repository
+ uses: actions/checkout@v3
+
+ - name: Deploy to Firebase (production)
+ uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POSTWOMAN_API }}'
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index fe3b6253e..a037ea631 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -15,14 +15,12 @@ jobs:
node-version: ["lts/*"]
steps:
- - name: Checkout Repo
- uses: actions/checkout@v2
+ - name: Checkout Repository
+ uses: actions/checkout@v3
- name: Setup Environment
run: mv packages/hoppscotch-app/.env.example packages/hoppscotch-app/.env
- - uses: actions/setup-node@v2
-
- name: Setup and run pnpm install
uses: pnpm/[email protected]
with:
@@ -30,7 +28,7 @@ jobs:
run_install: true
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm