Skip to content

Commit

Permalink
dev: Update actions to Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansmares committed Nov 12, 2021
1 parent f7a8c56 commit e94cb6f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
determine-if-required:
name: Determine if run is required
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
needs-to-run: ${{ steps.check-result.outputs.passed != 'true' }}
hash: ${{ steps.get-hash.outputs.hash }}
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
run: echo "::set-output name=dir::$(npx yarn cache dir)"
preparation:
name: Run preparations
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: determine-if-required
if: needs.determine-if-required.outputs.needs-to-run == 'true'
env:
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
path: build.zip
end-to-end:
name: Main frontend end-to-end tests (Chrome)
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
TTN_LW_LOG_LEVEL: debug
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
path: cypress/screenshots
cross-browser-smoke:
name: Cross-browser smoke tests (Firefox 78 ESR)
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
TTN_LW_LOG_LEVEL: debug
COCKROACHDB_COCKROACH_TAG: v19.2.12
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
path: cypress/screenshots
cache-result:
name: Write result cache
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: [preparation, end-to-end, cross-browser-smoke, determine-if-required]
steps:
- name: Setup result cache to skip redundant runs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: pull_request
jobs:
quality:
name: Code Quality
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
quality:
name: Code Quality
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

test:
name: Tests
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
services:
postgres:
image: postgres
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
quality:
name: Code Quality
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:

test:
name: Tests
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
protos:
name: Generate protos
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
release:
name: Snapshot release
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
release:
name: Tag release
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down

0 comments on commit e94cb6f

Please sign in to comment.