mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: upgrade to actions/checkout@v3
to avoid deprecation warnings in the CI about that action using Node.js 12
This commit is contained in:
parent
4a81272914
commit
b1ed1d3b32
4
.github/workflows/bootstrapping_works_ci.yml
vendored
4
.github/workflows/bootstrapping_works_ci.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
B_CFLAGS: -g -std=c99 -w
|
||||
B_LFLAGS: -lm -lpthread
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 10
|
||||
- name: Build v
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
B_CFLAGS: -g -std=c99 -w
|
||||
B_LFLAGS: -lm -lpthread
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 10
|
||||
- name: Build V
|
||||
|
4
.github/workflows/c2v_ci.yml
vendored
4
.github/workflows/c2v_ci.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make && ./v symlink -githubci
|
||||
|
||||
@ -67,7 +67,7 @@ jobs:
|
||||
LIBGL_ALWAYS_SOFTWARE: true
|
||||
VTMP: /tmp
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make && ./v symlink -githubci
|
||||
|
||||
|
4
.github/workflows/containers_ci.yml
vendored
4
.github/workflows/containers_ci.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Show Environment
|
||||
run: |
|
||||
@ -73,7 +73,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build V
|
||||
run: |
|
||||
|
6
.github/workflows/cross_ci.yml
vendored
6
.github/workflows/cross_ci.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc clang
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 10
|
||||
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 10
|
||||
- name: Install dependencies
|
||||
@ -96,7 +96,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 25
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: |
|
||||
echo %VFLAGS%
|
||||
|
2
.github/workflows/debug.yml
vendored
2
.github/workflows/debug.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc msvc
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
6
.github/workflows/docs_ci.yml
vendored
6
.github/workflows/docs_ci.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make
|
||||
- name: Check markdown line length & code examples
|
||||
@ -31,12 +31,12 @@ jobs:
|
||||
env:
|
||||
MOPTIONS: --relative-paths --exclude /vlib/v/ --exclude /builtin/linux_bare/ --exclude /testdata/ --exclude /tests/
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make
|
||||
|
||||
- name: Checkout previous v
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: vlang/v
|
||||
ref: master # important
|
||||
|
2
.github/workflows/gen_vc_ci.yml
vendored
2
.github/workflows/gen_vc_ci.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
env:
|
||||
VREPO: github.com/vlang/vc.git
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make
|
||||
- name: Regenerate v.c and v_win.c
|
||||
|
2
.github/workflows/gg_regressions_ci.yml
vendored
2
.github/workflows/gg_regressions_ci.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
VTMP: /tmp
|
||||
steps:
|
||||
- name: Checkout V
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build local v
|
||||
run: make
|
||||
|
12
.github/workflows/linux_ci.yml
vendored
12
.github/workflows/linux_ci.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@ -108,7 +108,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@ -163,7 +163,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -268,7 +268,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc clang
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -360,7 +360,7 @@ jobs:
|
||||
# env:
|
||||
# VFLAGS: -cc gcc
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Build V
|
||||
# run: make -j4
|
||||
# - name: V self compilation with -autofree
|
||||
@ -375,7 +375,7 @@ jobs:
|
||||
# VFLAGS: -cc musl-gcc
|
||||
# V_CI_MUSL: 1
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/checkout@v3
|
||||
# - uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 12.x
|
||||
|
2
.github/workflows/macos_ci.yml
vendored
2
.github/workflows/macos_ci.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
VFLAGS: -cc clang
|
||||
PKG_CONFIG_PATH: /usr/local/opt/pkgconfig:/usr/local/opt/libpq/lib/pkgconfig:/usr/local/opt/openssl@3/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:/opt/homebrew/opt/libpq/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
2
.github/workflows/module_docs_ci.yml
vendored
2
.github/workflows/module_docs_ci.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
build-module-docs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make
|
||||
- name: Build module documentation
|
||||
|
@ -59,7 +59,7 @@ jobs:
|
||||
]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install linker
|
||||
if: ${{ startsWith(matrix.os, 'ubuntu')}}
|
||||
|
10
.github/workflows/other_ci.yml
vendored
10
.github/workflows/other_ci.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: No GPL licensed code, should be added accidentally
|
||||
run: |
|
||||
! grep -r --exclude="*.yml" "a GPL license" .
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc gcc
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Environment info
|
||||
run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF
|
||||
- name: Build local v
|
||||
@ -47,7 +47,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc gcc
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Environment info
|
||||
run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF
|
||||
- name: Build local v
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 10
|
||||
|
||||
@ -117,7 +117,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install zzuf
|
||||
run: sudo apt install -qq zzuf
|
||||
- name: Build local v
|
||||
|
6
.github/workflows/paths_ci.yml
vendored
6
.github/workflows/paths_ci.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
env:
|
||||
MY_V_PATH: '你好 my $path, @с интервали'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: ${{env.MY_V_PATH}}
|
||||
- name: Build V
|
||||
@ -47,7 +47,7 @@ jobs:
|
||||
env:
|
||||
MY_V_PATH: '你好 my $path, @с интервали'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: ${{env.MY_V_PATH}}
|
||||
- name: Build V
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
## and that happens even for gcc builds, not just tcc ones
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: ${{env.MY_V_PATH}}
|
||||
- name: Build V
|
||||
|
6
.github/workflows/periodic_ci.yml
vendored
6
.github/workflows/periodic_ci.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
env:
|
||||
V_CI_PERIODIC: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies 1
|
||||
run: sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev
|
||||
- name: Build v
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
env:
|
||||
V_CI_PERIODIC: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup openssl library path
|
||||
run: export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
|
||||
- name: Build V
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
V_CI_PERIODIC: 1
|
||||
VFLAGS: -cc msvc
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: |
|
||||
echo %VFLAGS%
|
||||
|
12
.github/workflows/sanitized_ci.yml
vendored
12
.github/workflows/sanitized_ci.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
VJOBS: 1
|
||||
VTEST_SHOW_START: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -111,7 +111,7 @@ jobs:
|
||||
VJOBS: 1
|
||||
VTEST_SHOW_START: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -138,7 +138,7 @@ jobs:
|
||||
VJOBS: 1
|
||||
VTEST_SHOW_START: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -170,7 +170,7 @@ jobs:
|
||||
VJOBS: 1
|
||||
VTEST_SHOW_START: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -202,7 +202,7 @@ jobs:
|
||||
VJOBS: 1
|
||||
VTEST_SHOW_START: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -234,7 +234,7 @@ jobs:
|
||||
VJOBS: 1
|
||||
VTEST_SHOW_START: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
2
.github/workflows/toml_ci.yml
vendored
2
.github/workflows/toml_ci.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
VTEST_TOML_DO_YAML_CONVERSION: 1
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
@ -18,7 +18,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make && sudo ./v symlink
|
||||
|
||||
|
2
.github/workflows/v_benchmark_ci.yml
vendored
2
.github/workflows/v_benchmark_ci.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Install google benchmark
|
||||
run: |
|
||||
git clone https://github.com/google/benchmark.git
|
||||
|
4
.github/workflows/vab_ci.yml
vendored
4
.github/workflows/vab_ci.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
distribution: 'adopt'
|
||||
java-version: 8
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make && sudo ./v symlink
|
||||
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build V
|
||||
run: make && sudo ./v symlink
|
||||
|
||||
|
2
.github/workflows/vinix_kernel_ci.yml
vendored
2
.github/workflows/vinix_kernel_ci.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -gc none
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
2
.github/workflows/websockets_ci.yml
vendored
2
.github/workflows/websockets_ci.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install --quiet -y libssl-dev
|
||||
- name: Build v
|
||||
|
6
.github/workflows/windows_ci.yml
vendored
6
.github/workflows/windows_ci.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
VFLAGS: -cc gcc
|
||||
VERBOSE_MAKE: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -86,7 +86,7 @@ jobs:
|
||||
VFLAGS: -cc msvc
|
||||
VERBOSE_MAKE: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
@ -136,7 +136,7 @@ jobs:
|
||||
VTEST_SHOW_START: 1
|
||||
VERBOSE_MAKE: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
Loading…
Reference in New Issue
Block a user