1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Update checkout action to v4

This commit is contained in:
Frank Denis 2024-03-03 23:19:34 +01:00
parent 7e6ea701b7
commit 5fc2aff012
3 changed files with 18 additions and 18 deletions

View File

@ -12,7 +12,7 @@ jobs:
tcc: tcc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update
@ -35,7 +35,7 @@ jobs:
zig: zig:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update
@ -64,7 +64,7 @@ jobs:
regular: regular:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update
@ -93,7 +93,7 @@ jobs:
check-globals: check-globals:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update
@ -111,7 +111,7 @@ jobs:
other-comp: other-comp:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update
@ -137,7 +137,7 @@ jobs:
other-arch: other-arch:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update
@ -157,7 +157,7 @@ jobs:
android: android:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Update packages list - name: Update packages list
run: sudo apt-get update run: sudo apt-get update

View File

@ -26,7 +26,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View File

@ -10,7 +10,7 @@ jobs:
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: buildbase.bat - name: buildbase.bat
run: buildbase.bat ..\vs2022\libsodium.sln 17 run: buildbase.bat ..\vs2022\libsodium.sln 17
working-directory: builds/msvc/build/ working-directory: builds/msvc/build/
@ -31,7 +31,7 @@ jobs:
uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36 uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36
with: with:
version: master version: master
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu.2.17 -Dcpu=sandybridge zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu.2.17 -Dcpu=sandybridge
@ -58,7 +58,7 @@ jobs:
sudo update-binfmts --enable qemu-arm sudo update-binfmts --enable qemu-arm
sudo update-binfmts --display sudo update-binfmts --display
sudo ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.* /lib sudo ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.* /lib
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=arm-linux-gnueabihf.2.23 -Dcpu=baseline zig build -Doptimize=ReleaseFast -Dtarget=arm-linux-gnueabihf.2.23 -Dcpu=baseline
@ -86,7 +86,7 @@ jobs:
sudo update-binfmts --enable qemu-aarch64 sudo update-binfmts --enable qemu-aarch64
sudo update-binfmts --display sudo update-binfmts --display
sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.* /lib sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.* /lib
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu.2.23 -Dcpu=baseline zig build -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu.2.23 -Dcpu=baseline
@ -111,7 +111,7 @@ jobs:
uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36 uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36
with: with:
version: master version: master
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl -Dcpu=sandybridge zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl -Dcpu=sandybridge
@ -130,7 +130,7 @@ jobs:
uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36 uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36
with: with:
version: master version: master
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=arm-linux-musleabihf -Dcpu=baseline zig build -Doptimize=ReleaseFast -Dtarget=arm-linux-musleabihf -Dcpu=baseline
@ -146,7 +146,7 @@ jobs:
uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36 uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36
with: with:
version: master version: master
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl -Dcpu=baseline zig build -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl -Dcpu=baseline
@ -158,7 +158,7 @@ jobs:
build-apple: build-apple:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: build-xcframework - name: build-xcframework
run: env LIBSODIUM_FULL_BUILD=1 LIBSODIUM_SKIP_SIMULATORS=1 dist-build/apple-xcframework.sh run: env LIBSODIUM_FULL_BUILD=1 LIBSODIUM_SKIP_SIMULATORS=1 dist-build/apple-xcframework.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
@ -199,7 +199,7 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: build-win-x64 name: build-win-x64
@ -276,7 +276,7 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: nuget-package name: nuget-package