Update Github Actions to latest versions (#2407)

This commit is contained in:
Jon Koops 2022-04-11 13:25:24 +02:00 committed by GitHub
parent 0412a8c36c
commit 144715f75b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View file

@ -22,12 +22,12 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v2
with: with:
languages: javascript languages: javascript
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v3.1.0 uses: actions/setup-node@v3
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
check-latest: true check-latest: true
@ -48,4 +48,4 @@ jobs:
run: npm run build run: npm run build
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@v2

View file

@ -12,12 +12,12 @@ jobs:
KEYCLOAK_SERVER_PATH: keycloak-server KEYCLOAK_SERVER_PATH: keycloak-server
steps: steps:
- name: Check out Admin UI - name: Check out Admin UI
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: ${{ env.ADMIN_UI_PATH }} path: ${{ env.ADMIN_UI_PATH }}
- name: Check out Keycloak Server - name: Check out Keycloak Server
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: keycloak/keycloak repository: keycloak/keycloak
path: ${{ env.KEYCLOAK_SERVER_PATH }} path: ${{ env.KEYCLOAK_SERVER_PATH }}
@ -58,7 +58,7 @@ jobs:
KEYCLOAK_ADMIN_PASSWORD: admin KEYCLOAK_ADMIN_PASSWORD: admin
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v3.1.0 uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
check-latest: true check-latest: true

View file

@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out Admin UI - name: Check out Admin UI
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v3.1.0 uses: actions/setup-node@v3
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
check-latest: true check-latest: true
@ -22,7 +22,7 @@ jobs:
- name: Cache Node modules - name: Cache Node modules
id: cache-node-modules id: cache-node-modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
@ -32,7 +32,7 @@ jobs:
run: npm ci run: npm ci
- name: Cache setup - name: Cache setup
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ./* path: ./*
key: ${{ github.sha }} key: ${{ github.sha }}
@ -45,13 +45,13 @@ jobs:
command: [lint, test, build] command: [lint, test, build]
steps: steps:
- name: Restore setup - name: Restore setup
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ./* path: ./*
key: ${{ github.sha }} key: ${{ github.sha }}
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v3.1.0 uses: actions/setup-node@v3
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}