Skip to content

Commit

Permalink
ci(gh-actions): use ubuntu-latest host runner
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed Mar 1, 2023
1 parent 5881a6a commit 1087c21
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
analyze:
if: github.event_name == 'pull_request' || !contains(github.actor, '[bot]')
name: Analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cosmos-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
jobs:
test:
name: Cosmos DB Integration Test
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

services:
cosmos-db:
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v3.3.0

- name: Import DB Emulator Certificate
timeout-minutes: 10
timeout-minutes: 5
run: |
while ! curl -k -f https://localhost:8081/_explorer/emulator.pem > ~/emulatorcert.crt; do sleep 5; done
sudo cp ~/emulatorcert.crt /usr/local/share/ca-certificates/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
name: Deploy to Azure Static Web Apps
needs: [build]
if: github.event_name != 'pull_request'
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
environment:
name: ${{ (github.event_name == 'release' && 'Production') || 'Staging' }}
url: ${{ steps.swa-deploy.outputs.static_web_app_url }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
lint:
name: Lint & Format Check
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -33,7 +33,7 @@ jobs:

test:
name: Unit Test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand Down

0 comments on commit 1087c21

Please sign in to comment.