Skip to content

Commit

Permalink
Update canvas and branch name (#155)
Browse files Browse the repository at this point in the history
Older versions of canvas are no longer working on CI. Let's upgrade them
and reflect the rename of the `master` branch to `main`.
  • Loading branch information
lhchavez authored Sep 4, 2022
1 parent 680f3ae commit 00e9131
Show file tree
Hide file tree
Showing 9 changed files with 14,678 additions and 290 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,31 @@ on:
pull_request: {}
push:
branches:
- master
- main

jobs:
tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install Firefox
uses: browser-actions/setup-firefox@latest

- name: Install geckodriver
uses: browser-actions/setup-geckodriver@latest

- name: Install JavaScript dependencies
run: npm install

- name: Install Python dependencies
run: |
python3 -m pip install --user setuptools
python3 -m pip install --user wheel
python3 -m pip install --user \
selenium \
pytest
python3 -m pip install --user -r requirements.txt
- name: Run karel.js tests
run: npm test
Expand All @@ -41,7 +45,7 @@ jobs:
run: (cd cpp && make test)

lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
HOOK_TOOLS_VERSION: 20200816
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:

release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.17.0
1 change: 1 addition & 0 deletions cpp/json.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <iosfwd>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Expand Down
Loading

0 comments on commit 00e9131

Please sign in to comment.