Skip to content

Commit

Permalink
docs: update gh runner specific os versions to latest (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobanieca authored Apr 12, 2024
1 parent 21b60db commit b462bfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions runtime/manual/advanced/continuous_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on: push

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, macos-12, windows-2022 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- run: deno test --allow-all --coverage cov/
```
Expand Down Expand Up @@ -100,12 +100,12 @@ jobs:
continue-on-error: ${{ matrix.canary }} # Continue in case the canary run does not succeed
strategy:
matrix:
os: [ ubuntu-22.04, macos-12, windows-2022 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
deno-version: [ v1.x ]
canary: [ false ]
include:
- deno-version: canary
os: ubuntu-22.04
os: ubuntu-latest
canary: true
```

Expand All @@ -121,11 +121,11 @@ coverage generation and upload steps only on the `ubuntu` (Linux) runner:

```yaml
- name: Generate coverage report
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-latest'
run: deno coverage --lcov cov > cov.lcov
- name: Upload coverage to Coveralls.io
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-latest'
# Any code coverage service can be used, Coveralls.io is used here as an example.
uses: coverallsapp/github-action@master
with:
Expand Down

0 comments on commit b462bfd

Please sign in to comment.