1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-28 08:58:18 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
bb0f267941
.github: use ubuntu-22.04 for actions
All checks were successful
continuous-integration/drone/push Build is passing
Apparently 'ubuntu-latest' is still 20.04 and today is 2022-10-03,
which seems a bit old!

See: https://github.com/actions/runner-images
2022-10-03 19:57:56 +03:00
0720605b6a
.github: update actions
Switch to newer checkout and setup-python actions, and enable the
pip cache for setup-python.
2022-10-03 19:43:41 +03:00

View File

@ -8,7 +8,7 @@ on: ['push', 'pull_request']
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
services: services:
database: database:
@ -27,11 +27,12 @@ jobs:
- 5432:5432 - 5432:5432
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.10'
cache: 'pip'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip