Skip to content

Commit 08c55fb

Browse files
committed
Update GitHub Actions workflow to use latest action versions and streamline dependency installation
1 parent 2dff688 commit 08c55fb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/examples-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,18 @@ jobs:
101101
# and not fully implemented
102102

103103
steps:
104-
- uses: actions/checkout@v3
104+
- uses: actions/checkout@v4
105105

106106
- name: Set up Python ${{ matrix.python-version }}
107-
uses: actions/setup-python@v4
107+
uses: actions/setup-python@v5
108108
with:
109109
python-version: ${{ matrix.python-version }}
110110

111111
- name: Install dependencies
112112
run: |
113113
python -m pip install --upgrade pip
114-
if [ -f requirements.txt ]; then pip install -r requirements.txt; else pip install -e .; fi
114+
pip install -r requirements.txt
115+
pip install -e .
115116
shell: bash
116117

117118
- name: Run ${{ matrix.combination.example }} on ${{ matrix.combination.backend }} backend

0 commit comments

Comments
 (0)