Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) CI dependency updates #1115

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build-database-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
paths:
- 'database/**'
- '.github/workflows/build-database-docker.yml'
workflow_dispatch:

env:
Expand All @@ -16,7 +17,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v1
Expand All @@ -25,15 +26,15 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Push to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: database
push: true
tags: vizzuality/landgriffon-database:${{ github.ref != 'refs/heads/main' && 'staging' || 'production' }}

- name: Push "latest" tag to Docker Hub
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: database
push: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-marketing-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Authenticate to Google Cloud'
uses: google-github-actions/auth@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/testing-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js 18.16
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.16'

Expand Down Expand Up @@ -86,10 +86,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js 18.16
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.16'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/testing-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
working-directory: ${{github.workspace}}/client
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js 18.13
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: 'client/.nvmrc'
cache: 'yarn'
Expand All @@ -36,7 +36,7 @@ jobs:
run: yarn install --immutable

- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
record: true
working-directory: client
Expand All @@ -61,7 +61,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
DEBUG: "cypress:server:args"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/testing-tiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- 'tiler/**'
- '.github/workflows/testing-tiler.yml'

workflow_dispatch:

Expand All @@ -13,9 +14,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
Expand Down