Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update gh runner specific os versions to latest #366

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading