Skip to content

Commit

Permalink
Node.js 16 actions are deprecated, use Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ukanga committed Jul 3, 2024
1 parent 089289f commit 3abb917
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
Expand Down Expand Up @@ -80,16 +80,16 @@ jobs:
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: "8"

- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Update apt sources
run: sudo apt-get update
Expand All @@ -131,7 +131,7 @@ jobs:
run: echo "version=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV

- name: Build Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/onadata-uwsgi/Dockerfile.ubuntu
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
output: "trivy_results.sarif"

- name: Upload vulnerability scan results
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
if: github.event_name == 'push' || github.event_name == 'pull_request'
with:
sarif_file: "trivy_results.sarif"
Expand Down

0 comments on commit 3abb917

Please sign in to comment.