1
0
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:
Delyan Angelov 2023-02-21 13:40:24 +02:00
parent 4a81272914
commit b1ed1d3b32
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
23 changed files with 51 additions and 51 deletions

View File

@ -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

View File

@ -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

View File

@ -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: |

View File

@ -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%

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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')}}

View File

@ -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

View File

@ -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

View File

@ -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%

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -17,7 +17,7 @@ jobs:
env:
VFLAGS: -gc none
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: |

View File

@ -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

View File

@ -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