Skip to content

Commit 15a2ba7

Browse files
authored
Merge pull request #104 from Stability-AI/fix-ci-ubuntu-version
chore: upgrade Ubuntu version to use a non-deprecated one Upgrade Ubuntu from 20.4 to 24.4 and `actions/upload-artifact` from v3 to v4 on CI. - Ubuntu 20.4 is deprecated (see actions/runner-images#11101) and CI fails like on this example: https://github.com/Stability-AI/api-interfaces/actions/runs/15051602263 - `actions/upload-artifact@v3` is deprecated (see https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/) and CI fails like on this example: https://github.com/Stability-AI/api-interfaces/actions/runs/15052102616
2 parents 9ab9382 + e4eb8d4 commit 15a2ba7

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
jobs:
77
generate-language-bindings:
88
name: Generate Language Bindings
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-24.04
1010
steps:
11-
# By default, when you use actions/checkout on a PR, it will checkout the
12-
# head commit in a detached head state. If you want to make some changes,
11+
# By default, when you use actions/checkout on a PR, it will checkout the
12+
# head commit in a detached head state. If you want to make some changes,
1313
# you have to checkout the branch the PR is coming from in the head repo.
1414
#
1515
# https://github.com/EndBug/add-and-commit#working-with-prs
@@ -29,10 +29,10 @@ jobs:
2929
push: false
3030
context: .
3131
cache-from: type=gha
32-
cache-to: type=gha,mode=max
32+
cache-to: type=gha,mode=max
3333
outputs: |
3434
type=local,dest=${{ runner.temp }}/docker-build
35-
- uses: actions/upload-artifact@v3
35+
- uses: actions/upload-artifact@v4
3636
with:
3737
name: gooseai
3838
path: ${{ runner.temp }}/docker-build/gooseai

gooseai/go.mod

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gooseai/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)