summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwout ter Hoeven <E.M.terHoeven@student.tudelft.nl>2024-04-03 20:01:13 +0200
committerGitHub <noreply@github.com>2024-04-03 21:01:13 +0300
commit9f62c0173d964972849251c8ad12fc356f5b7896 (patch)
treedd0b01d2540d4e84d8fa9c449f2d398368fe8cda
parent5d4f12e4624bf4435ba26753814bedd4e9b62803 (diff)
ci : update checkout, setup-python and upload-artifact to latest (#6456)
* CI: Update actions/checkout to v4 * CI: Update actions/setup-python to v5 * CI: Update actions/upload-artifact to v4
-rw-r--r--.github/workflows/bench.yml2
-rw-r--r--.github/workflows/build.yml70
-rw-r--r--.github/workflows/code-coverage.yml2
-rw-r--r--.github/workflows/docker.yml2
-rw-r--r--.github/workflows/editorconfig.yml2
-rw-r--r--.github/workflows/gguf-publish.yml4
-rw-r--r--.github/workflows/python-check-requirements.yml4
-rw-r--r--.github/workflows/python-lint.yml4
-rw-r--r--.github/workflows/server.yml4
-rw-r--r--.github/workflows/zig-build.yml2
10 files changed, 48 insertions, 48 deletions
diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml
index 949d806f..59fcfc27 100644
--- a/.github/workflows/bench.yml
+++ b/.github/workflows/bench.yml
@@ -46,7 +46,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 012ab03f..f12b3a13 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -31,7 +31,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -76,7 +76,7 @@ jobs:
- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
path: |
llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip
@@ -87,7 +87,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -132,7 +132,7 @@ jobs:
- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
path: |
llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip
@@ -146,7 +146,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -158,7 +158,7 @@ jobs:
with:
node-version: "20"
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v5
with:
python-version: "3.11"
@@ -181,7 +181,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -203,7 +203,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -249,7 +249,7 @@ jobs:
# steps:
# - name: Clone
# id: checkout
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Dependencies
# id: depends
@@ -283,7 +283,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -311,7 +311,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -357,7 +357,7 @@ jobs:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Build
id: cmake_build
@@ -398,7 +398,7 @@ jobs:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Build
id: cmake_build
@@ -418,7 +418,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -449,7 +449,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
id: depends
@@ -593,7 +593,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -723,7 +723,7 @@ jobs:
- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
path: |
llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-x64.zip
@@ -739,7 +739,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -779,7 +779,7 @@ jobs:
- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
path: |
llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-cu${{ matrix.cuda }}-x64.zip
@@ -793,7 +793,7 @@ jobs:
- name: Upload Cuda runtime
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
path: |
cudart-llama-bin-win-cu${{ matrix.cuda }}-x64.zip
@@ -812,7 +812,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -844,7 +844,7 @@ jobs:
- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
path: |
llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip
@@ -854,7 +854,7 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Build Xcode project
run: xcodebuild -project examples/llama.swiftui/llama.swiftui.xcodeproj -scheme llama.swiftui -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= -destination 'generic/platform=iOS' build
@@ -864,7 +864,7 @@ jobs:
steps:
- name: Clone
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
@@ -887,7 +887,7 @@ jobs:
# runs-on: macos-12
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Build
# uses: cross-platform-actions/action@v0.19.0
@@ -918,7 +918,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -937,7 +937,7 @@ jobs:
- name: Download artifacts
id: download-artifact
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
- name: Create release
id: create_release
@@ -978,7 +978,7 @@ jobs:
#
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Dependencies
# run: |
@@ -1002,7 +1002,7 @@ jobs:
#
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Dependencies
# run: |
@@ -1026,7 +1026,7 @@ jobs:
#
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Dependencies
# run: |
@@ -1056,7 +1056,7 @@ jobs:
#
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Add msbuild to PATH
# uses: microsoft/setup-msbuild@v1
@@ -1072,7 +1072,7 @@ jobs:
# msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
#
# - name: Upload binaries
-# uses: actions/upload-artifact@v1
+# uses: actions/upload-artifact@v4
# with:
# name: llama-bin-${{ matrix.arch }}
# path: build/bin/${{ matrix.build }}
@@ -1095,7 +1095,7 @@ jobs:
#
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Add msbuild to PATH
# uses: microsoft/setup-msbuild@v1
@@ -1127,7 +1127,7 @@ jobs:
#
# - name: Upload binaries
# if: matrix.blas == 'ON'
-# uses: actions/upload-artifact@v1
+# uses: actions/upload-artifact@v4
# with:
# name: llama-blas-bin-${{ matrix.arch }}
# path: build/bin/${{ matrix.build }}
@@ -1141,7 +1141,7 @@ jobs:
#
# steps:
# - name: Clone
-# uses: actions/checkout@v3
+# uses: actions/checkout@v4
#
# - name: Dependencies
# run: |
diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml
index 4112518b..a1cba103 100644
--- a/.github/workflows/code-coverage.yml
+++ b/.github/workflows/code-coverage.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Dependencies
run: |
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 9591bfc2..4c5c87ef 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -46,7 +46,7 @@ jobs:
- { tag: "server-intel", dockerfile: ".devops/server-intel.Dockerfile", platforms: "linux/amd64" }
steps:
- name: Check out the repo
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml
index 7b2a00c9..9f4c365f 100644
--- a/.github/workflows/editorconfig.yml
+++ b/.github/workflows/editorconfig.yml
@@ -22,6 +22,6 @@ jobs:
editorconfig:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker
diff --git a/.github/workflows/gguf-publish.yml b/.github/workflows/gguf-publish.yml
index 57db1751..3ca4d305 100644
--- a/.github/workflows/gguf-publish.yml
+++ b/.github/workflows/gguf-publish.yml
@@ -24,9 +24,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v5
with:
python-version: '3.9.x'
- name: Install dependencies
diff --git a/.github/workflows/python-check-requirements.yml b/.github/workflows/python-check-requirements.yml
index 4092b12f..4adb2826 100644
--- a/.github/workflows/python-check-requirements.yml
+++ b/.github/workflows/python-check-requirements.yml
@@ -26,9 +26,9 @@ jobs:
name: check-requirements
steps:
- name: Check out source repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Python environment
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Run check-requirements.sh script
diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml
index 4bdd79c4..7fd51423 100644
--- a/.github/workflows/python-lint.yml
+++ b/.github/workflows/python-lint.yml
@@ -12,9 +12,9 @@ jobs:
name: Lint
steps:
- name: Check out source repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Python environment
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: flake8 Lint
diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml
index d3e153d1..ccea38e0 100644
--- a/.github/workflows/server.yml
+++ b/.github/workflows/server.yml
@@ -65,7 +65,7 @@ jobs:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
@@ -126,7 +126,7 @@ jobs:
steps:
- name: Clone
id: checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0
diff --git a/.github/workflows/zig-build.yml b/.github/workflows/zig-build.yml
index cb43954e..658ca8da 100644
--- a/.github/workflows/zig-build.yml
+++ b/.github/workflows/zig-build.yml
@@ -18,7 +18,7 @@ jobs:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0