Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.WRITE_PACKAGE_TOKEN }}

- name: Build and push llsp-worker Docker image
id: worker_build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: ./LLSP-Worker/Dockerfile
push: true
Expand All @@ -38,26 +38,26 @@ jobs:

- name: Build and push llsp-api Docker image
id: api_build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: ./LLSP-API/Dockerfile
push: true
context: ./LLSP-API
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/llsp-api:latest

- name: Checkout the Gitops repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: fiaisis/gitops
token: ${{ secrets.GITOPS_STAGING_EDIT_TOKEN }}

- name: Edit the YAML llsp-worker file for staging
uses: mikefarah/yq@v4.47.1
uses: mikefarah/yq@v4.52.4
with:
cmd: yq e -i '.spec.template.spec.containers[] |= select(.name == "llsp-worker").image = "ghcr.io/fiaisis/llsp-worker@${{ steps.worker_build.outputs.digest }}"' './components/llsp-worker/envs/staging/llsp-worker.yml'

- name: Edit the YAML llsp-api file for staging
uses: mikefarah/yq@v4.47.1
uses: mikefarah/yq@v4.52.4
with:
cmd: yq e -i '.spec.template.spec.containers[] |= select(.name == "llsp-api").image = "ghcr.io/fiaisis/llsp-api@${{ steps.api_build.outputs.digest }}"' './components/llsp-api/envs/staging/llsp-api.yml'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
steps:
- name: Checkout project
if: github.actor != 'dependabot[bot]'
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.7
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.7
with:
token: ${{ secrets.COMMIT_TOKEN }}

- name: Checkout project (dependabot)
if: github.actor == 'dependabot[bot]'
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.7
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.7

- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'

- name: Set up cache for Python dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
api-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.11'

Expand All @@ -25,10 +25,10 @@ jobs:
worker-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.11'

Expand All @@ -43,7 +43,7 @@ jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Build and Run Tests
run: |
Expand Down