Skip to content

Commit 645564f

Browse files
author
George Khoury
committed
ci(workflows): update branch names in triggers
1 parent 0a2c6fd commit 645564f

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
build:
@@ -16,22 +16,22 @@ jobs:
1616
python-version: ['3.8', '3.9', '3.10']
1717

1818
steps:
19-
- uses: actions/checkout@v4
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v5
22-
with:
23-
python-version: ${{ matrix.python-version }}
24-
- uses: actions/cache@v4
25-
with:
26-
path: ~/.cache/pip
27-
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
28-
restore-keys: ${{ runner.os }}-python-${{ matrix.python-version }}-pip
29-
- name: Install dependencies
30-
run: |
31-
python -m pip install --upgrade pip
32-
python -m pip install tox tox-gh-actions
33-
- name: Lint
34-
if: matrix.python-version == '3.10'
35-
run: tox -e flake8
36-
- name: Tests
37-
run: tox
19+
- uses: actions/checkout@v4
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- uses: actions/cache@v4
25+
with:
26+
path: ~/.cache/pip
27+
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
28+
restore-keys: ${{ runner.os }}-python-${{ matrix.python-version }}-pip
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
python -m pip install tox tox-gh-actions
33+
- name: Lint
34+
if: matrix.python-version == '3.10'
35+
run: tox -e flake8
36+
- name: Tests
37+
run: tox

0 commit comments

Comments
 (0)