This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
[Reno Buildbot] Upgrades Deno to 1.34.2 and std to 0.191.0 #436
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- feat/** | |
- fix/** | |
- upgrade/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get supported Deno runtime version number | |
id: supported-deno-version | |
uses: sergeysova/jq-action@v2 | |
with: | |
cmd: jq -r .deno deno_versions.json | |
- name: Install supported Deno runtime version | |
run: curl -fsSL https://deno.land/x/install/install.sh | sh -s v${{steps.supported-deno-version.outputs.value}} | |
- name: Lint | |
run: make lint | |
- name: Check formatting | |
run: make format-check | |
# This is a sanity check to ensure that | |
# there haven't been any breaking changes | |
# to server initialisation in Deno. | |
- name: Check example app | |
run: make check-example | |
- name: Unit tests | |
run: make test | |
- name: End-to-end tests | |
run: make e2e | |
post-upgrade: | |
runs-on: ubuntu-latest | |
needs: build | |
if: ${{always() && startsWith(github.ref, 'refs/heads/upgrade')}} | |
steps: | |
- name: Invoke post-upgrade workflow | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: Post-upgrade | |
repo: reno-router/reno | |
token: ${{secrets.UPGRADE_TOKEN}} | |
inputs: | | |
{ | |
"build-result": "${{needs.build.result}}" | |
} |