From 313506f9d47f8cb08e248ed92a30580c0b9a1e8b Mon Sep 17 00:00:00 2001 From: amercader Date: Thu, 26 Jan 2023 10:26:45 +0100 Subject: [PATCH] Update action versions --- .github/workflows/test-postgis.yml | 8 ++++---- .github/workflows/test.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-postgis.yml b/.github/workflows/test-postgis.yml index 4a8c1cc5..d41731fb 100644 --- a/.github/workflows/test-postgis.yml +++ b/.github/workflows/test-postgis.yml @@ -5,8 +5,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.7' - name: Install requirements @@ -45,7 +45,7 @@ jobs: PGPASSWORD: postgres steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Create Database run: | psql --host=postgres --username=postgres --command="CREATE USER ckan_default WITH PASSWORD 'pass' NOSUPERUSER NOCREATEDB NOCREATEROLE;" @@ -99,6 +99,6 @@ jobs: run: pytest --ckan-ini=test-postgis.ini --cov=ckanext.spatial --cov-report=xml --cov-append --disable-warnings ckanext/spatial/tests/postgis - name: Upload coverage report to codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: file: ./coverage.xml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 920903df..8d83394c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,8 +5,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.8' - name: Install requirements @@ -51,7 +51,7 @@ jobs: PGPASSWORD: postgres steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install harvester run: | git clone https://github.com/ckan/ckanext-harvest @@ -92,6 +92,6 @@ jobs: run: pytest --ckan-ini=test.ini --cov=ckanext.spatial --cov-report=xml --cov-append --disable-warnings ckanext/spatial/tests - name: Upload coverage report to codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: file: ./coverage.xml