Skip to content

Commit

Permalink
🚧 Change gh workflow dependencies versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yessica-rd committed Sep 29, 2023
1 parent 692320a commit 4524818
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-and-run-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers
uses: actions/cache@v3
Expand All @@ -25,10 +25,9 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
condition: always
- name: Build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
id: built-image
with:
context: .
Expand All @@ -40,8 +39,8 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

- name: Run pytests
# run: docker run --rm -v $PWD:/home/sage/tii-claasp --pull claasp-lib make remote-pytest
run: docker run --rm -v $PWD:/home/sage/tii-claasp claasp-lib:claasp-lib make remote-pytest
run: docker run --rm -v $PWD:/home/sage/tii-claasp --pull claasp-lib make remote-pytest
# run: docker run --rm -v $PWD:/home/sage/tii-claasp claasp-lib:claasp-lib make remote-pytest

# - name: Move cache
# if: ${{ always() }}
Expand Down

0 comments on commit 4524818

Please sign in to comment.