Skip to content

Commit

Permalink
Update CI job configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Dec 19, 2023
1 parent bdcbe8b commit 69aee79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
python-version: [3.8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 3.9
- uses: actions/checkout@v2
- name: Install and Test
run: |
set -ex
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on: [push, pull_request]

jobs:
flake:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- uses: actions/checkout@v2
- name: Install flake8
run: pip install "flake8>=3.7.0"
Expand Down

0 comments on commit 69aee79

Please sign in to comment.