Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Update action versions

Russ Garrettd9ff9f0d3d0d
diff --git a/.github/workflows/imposm.yml b/.github/workflows/imposm.yml
index b92a480..658babf 100644
--- a/.github/workflows/imposm.yml
+++ b/.github/workflows/imposm.yml
@@ -5,8 +5,8 @@ on:
branches:
- main
paths:
- - 'imposm/**'
- - '.github/workflows/imposm.yml'
+ - "imposm/**"
+ - ".github/workflows/imposm.yml"
jobs:
login:
@@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v6
- name: Login to GitHub Container Registry
- uses: docker/login-action@v3
+ uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
@@ -32,7 +32,7 @@ jobs:
type=sha
- name: Build and push
id: docker_build
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@v7
with:
context: ./imposm
file: ./imposm/Dockerfile
diff --git a/.github/workflows/sql-jobs.yml b/.github/workflows/sql-jobs.yml
index 0c243cf..557e309 100644
--- a/.github/workflows/sql-jobs.yml
+++ b/.github/workflows/sql-jobs.yml
@@ -2,31 +2,31 @@ name: Build SQL Jobs container
on:
push:
- branches:
+ branches:
- main
paths:
- - 'schema/jobs/**'
- - '.github/workflows/sql-jobs.yml'
+ - "schema/jobs/**"
+ - ".github/workflows/sql-jobs.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Login to GitHub Container Registry
- uses: docker/login-action@v3
+ uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push SQL Jobs image
id: docker_build
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@v7
with:
context: ./schema/jobs
file: ./schema/jobs/Dockerfile
push: true
tags: |
ghcr.io/openinframap/sql-jobs:${{ github.sha }}-${{ github.run_number }}
- ghcr.io/openinframap/sql-jobs:latest
\ No newline at end of file
+ ghcr.io/openinframap/sql-jobs:latest
diff --git a/.github/workflows/tileserver.yml b/.github/workflows/tileserver.yml
index 5b10022..1f31180 100644
--- a/.github/workflows/tileserver.yml
+++ b/.github/workflows/tileserver.yml
@@ -2,27 +2,27 @@ name: Build tile server containers
on:
push:
- branches:
+ branches:
- main
paths:
- - 'tegola/**'
- - '.github/workflows/tileserver.yml'
+ - "tegola/**"
+ - ".github/workflows/tileserver.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v6
- name: Login to GitHub Container Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push tileserver image
id: docker_build
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v7
with:
context: ./tegola
file: ./tegola/Dockerfile
@@ -32,11 +32,11 @@ jobs:
ghcr.io/openinframap/tileserver:latest
- name: Build and push tileserver-expiry image
id: docker_build_expiry
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v7
with:
context: ./tegola
file: ./tegola/Dockerfile.expiry
push: true
tags: |
ghcr.io/openinframap/tileserver-expiry:${{ github.sha }}-${{ github.run_number }}
- ghcr.io/openinframap/tileserver-expiry:latest
\ No newline at end of file
+ ghcr.io/openinframap/tileserver-expiry:latest
diff --git a/.github/workflows/web-backend.yml b/.github/workflows/web-backend.yml
index 6d01e77..5ba73dd 100644
--- a/.github/workflows/web-backend.yml
+++ b/.github/workflows/web-backend.yml
@@ -2,22 +2,22 @@ name: Build web backend
on:
push:
- branches:
+ branches:
- main
paths:
- - 'web-backend/**'
- - '.github/workflows/web-backend.yml'
+ - "web-backend/**"
+ - ".github/workflows/web-backend.yml"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Install uv
- uses: astral-sh/setup-uv@v5
+ uses: astral-sh/setup-uv@v8
with:
- version: '0.6.2'
+ version: "0.6.2"
- name: Install dependencies
run: |
cd web-backend
@@ -28,7 +28,7 @@ jobs:
cd web-backend
uv run ruff check
uv run mypy .
-
+
build:
needs: test
if: github.ref == 'refs/heads/main'
@@ -37,16 +37,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Login to GitHub Container Registry
- uses: docker/login-action@v3
+ uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@v7
with:
context: ./web-backend
file: ./web-backend/Dockerfile
diff --git a/.github/workflows/web-router.yml b/.github/workflows/web-router.yml
index 9d2fb9d..f160092 100644
--- a/.github/workflows/web-router.yml
+++ b/.github/workflows/web-router.yml
@@ -5,8 +5,8 @@ on:
branches:
- main
paths:
- - 'web-router/**'
- - '.github/workflows/web-router.yml'
+ - "web-router/**"
+ - ".github/workflows/web-router.yml"
jobs:
login:
@@ -15,19 +15,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Login to GitHub Container Registry
- uses: docker/login-action@v3
+ uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@v7
with:
- context: ./web-router
- file: ./web-router/Dockerfile
- push: true
- tags: |
- ${{ env.IMAGE }}:${{ github.sha }}-${{ github.run_number }}
+ context: ./web-router
+ file: ./web-router/Dockerfile
+ push: true
+ tags: |
+ ${{ env.IMAGE }}:${{ github.sha }}-${{ github.run_number }}
diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml
index 7a0bb0d..7e33e5c 100644
--- a/.github/workflows/web.yml
+++ b/.github/workflows/web.yml
@@ -5,14 +5,14 @@ on:
branches:
- main
paths:
- - 'web/**'
- - '.github/workflows/web.yml'
+ - "web/**"
+ - ".github/workflows/web.yml"
pull_request:
branches:
- main
paths:
- - 'web/**'
- - '.github/workflows/web.yml'
+ - "web/**"
+ - ".github/workflows/web.yml"
jobs:
test:
@@ -21,17 +21,17 @@ jobs:
run:
working-directory: ./web
steps:
- - uses: actions/checkout@v4
- - name: Install dependencies
- run: npm ci
- - name: Run linter
- run: npm run lint
- - name: Start dev server
- run: npm start &
- - name: Wait for server to start
- run: npx wait-on http://localhost:5173
- - name: Run tests
- run: npm run test
+ - uses: actions/checkout@v6
+ - name: Install dependencies
+ run: npm ci
+ - name: Run linter
+ run: npm run lint
+ - name: Start dev server
+ run: npm start &
+ - name: Wait for server to start
+ run: npx wait-on http://localhost:5173
+ - name: Run tests
+ run: npm run test
build:
needs: test
@@ -41,16 +41,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Login to GitHub Container Registry
- uses: docker/login-action@v3
+ uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@v7
with:
context: ./web
file: ./web/Dockerfile.prod