Update build.yml to use Ubuntu 22 instead of 20 #174
Workflow file for this run
This file contains hidden or 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: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '0 8 * * 1' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository. | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Python. | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10 | |
- name: Build. | |
run: | | |
sudo apt install -y python3.10-dev | |
python setup.py build |