forked from hans/Nominatim
Merge pull request #4033 from lonvia/update-actions
CI: update actions to latest versions
This commit is contained in:
@@ -41,7 +41,7 @@ runs:
|
|||||||
Add-Content $env:GITHUB_OUTPUT "postgis_file=$pgis_bundle"
|
Add-Content $env:GITHUB_OUTPUT "postgis_file=$pgis_bundle"
|
||||||
Add-Content $env:GITHUB_OUTPUT "postgis_bundle_url=$pgis_bundle_url"
|
Add-Content $env:GITHUB_OUTPUT "postgis_bundle_url=$pgis_bundle_url"
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
C:/postgis.zip
|
C:/postgis.zip
|
||||||
|
|||||||
29
.github/workflows/ci-tests.yml
vendored
29
.github/workflows/ci-tests.yml
vendored
@@ -7,11 +7,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
data/country_osm_grid.sql.gz
|
data/country_osm_grid.sql.gz
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
mv nominatim-src.tar.bz2 Nominatim
|
mv nominatim-src.tar.bz2 Nominatim
|
||||||
|
|
||||||
- name: 'Upload Artifact'
|
- name: 'Upload Artifact'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: full-source
|
name: full-source
|
||||||
path: nominatim-src.tar.bz2
|
path: nominatim-src.tar.bz2
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
runs-on: ubuntu-${{ matrix.ubuntu }}.04
|
runs-on: ubuntu-${{ matrix.ubuntu }}.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: full-source
|
name: full-source
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dependencies: ${{ matrix.dependencies }}
|
dependencies: ${{ matrix.dependencies }}
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/osm2pgsql
|
/usr/local/bin/osm2pgsql
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
if: matrix.ubuntu == '22'
|
if: matrix.ubuntu == '22'
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
if: matrix.python != 'builtin'
|
if: matrix.python != 'builtin'
|
||||||
@@ -145,7 +145,7 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: full-source
|
name: full-source
|
||||||
|
|
||||||
@@ -157,7 +157,7 @@ jobs:
|
|||||||
postgresql-version: 17
|
postgresql-version: 17
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.14'
|
python-version: '3.14'
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ jobs:
|
|||||||
OS: ${{ matrix.name }}
|
OS: ${{ matrix.name }}
|
||||||
INSTALL_MODE: ${{ matrix.install_mode }}
|
INSTALL_MODE: ${{ matrix.install_mode }}
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: full-source
|
name: full-source
|
||||||
path: /home/nominatim
|
path: /home/nominatim
|
||||||
@@ -336,7 +336,7 @@ jobs:
|
|||||||
needs: create-archive
|
needs: create-archive
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: full-source
|
name: full-source
|
||||||
|
|
||||||
@@ -376,7 +376,7 @@ jobs:
|
|||||||
needs: create-archive
|
needs: create-archive
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: full-source
|
name: full-source
|
||||||
|
|
||||||
@@ -411,10 +411,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./master/bin/nominatim admin --migrate
|
./master/bin/nominatim admin --migrate
|
||||||
./release/bin/nominatim add-data --file Nominatim/test/testdb/additional_api_test.data.osm
|
./release/bin/nominatim add-data --file Nominatim/test/testdb/additional_api_test.data.osm
|
||||||
|
|
||||||
codespell:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: codespell-project/actions-codespell@v2
|
|
||||||
with:
|
|
||||||
only_warn: 1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user