mirror of
https://github.com/vlang/v.git
synced 2025-09-17 11:26:17 -04:00
ci: run zizmor .github/workflows/paths_ci.yml
and fix reported issues (#22681)
This commit is contained in:
parent
9c72d94767
commit
a5d1229372
41
.github/workflows/paths_ci.yml
vendored
41
.github/workflows/paths_ci.yml
vendored
@ -18,42 +18,40 @@ jobs:
|
|||||||
space-paths-linux:
|
space-paths-linux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
|
||||||
MY_V_PATH: '你好 my $path, @с интервали'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: ${{env.MY_V_PATH}}
|
persist-credentials: false
|
||||||
|
path: '你好 my $path, @с интервали'
|
||||||
- name: Build V
|
- name: Build V
|
||||||
run: |
|
run: |
|
||||||
echo '${{env.MY_V_PATH}}'
|
echo '你好 my $path, @с интервали'
|
||||||
ls -la
|
ls -la
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd '你好 my $path, @с интервали'
|
||||||
ls -la
|
ls -la
|
||||||
make
|
make
|
||||||
- name: v doctor
|
- name: v doctor
|
||||||
run: |
|
run: |
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd '你好 my $path, @с интервали'
|
||||||
./v doctor
|
./v doctor
|
||||||
- name: v tests
|
- name: v tests
|
||||||
run: |
|
run: |
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd '你好 my $path, @с интервали'
|
||||||
./v test vlib/builtin vlib/os
|
./v test vlib/builtin vlib/os
|
||||||
|
|
||||||
space-paths-macos:
|
space-paths-macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
|
||||||
MY_V_PATH: '你好 my $path, @с интервали'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: ${{env.MY_V_PATH}}
|
path: '你好 my $path, @с интервали'
|
||||||
|
persist-credentials: false
|
||||||
- name: Build V
|
- name: Build V
|
||||||
run: |
|
run: |
|
||||||
echo '${{env.MY_V_PATH}}'
|
echo '你好 my $path, @с интервали'
|
||||||
ls -la
|
ls -la
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd '你好 my $path, @с интервали'
|
||||||
ls -la
|
ls -la
|
||||||
make
|
make
|
||||||
## prebuild cmd/tools/builders/js_builder, to minimise the
|
## prebuild cmd/tools/builders/js_builder, to minimise the
|
||||||
@ -61,19 +59,16 @@ jobs:
|
|||||||
./v -b js run examples/hello_world.v
|
./v -b js run examples/hello_world.v
|
||||||
- name: v doctor
|
- name: v doctor
|
||||||
run: |
|
run: |
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd '你好 my $path, @с интервали'
|
||||||
./v doctor
|
./v doctor
|
||||||
- name: v tests
|
- name: v tests
|
||||||
run: |
|
run: |
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd '你好 my $path, @с интервали'
|
||||||
./v test vlib/builtin vlib/os
|
./v test vlib/builtin vlib/os
|
||||||
|
|
||||||
space-paths-windows:
|
space-paths-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
|
||||||
MY_V_PATH: 'path with some $punctuation, and some spaces'
|
|
||||||
|
|
||||||
## NB: the following paths do not work for now:
|
## NB: the following paths do not work for now:
|
||||||
##### MY_V_PATH: '你好 my $path, @с интервали'
|
##### MY_V_PATH: '你好 my $path, @с интервали'
|
||||||
##### MY_V_PATH: 'path with some $punctuation, and some spaces '
|
##### MY_V_PATH: 'path with some $punctuation, and some spaces '
|
||||||
@ -83,23 +78,23 @@ jobs:
|
|||||||
####### builder error: cannot write to folder
|
####### builder error: cannot write to folder
|
||||||
####### D:\a\v\v\你好 my $path, @с интервали: No such file or directory
|
####### D:\a\v\v\你好 my $path, @с интервали: No such file or directory
|
||||||
## and that happens even for gcc builds, not just tcc ones
|
## and that happens even for gcc builds, not just tcc ones
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: ${{env.MY_V_PATH}}
|
path: 'path with some $punctuation, and some spaces'
|
||||||
|
persist-credentials: false
|
||||||
- name: Build V
|
- name: Build V
|
||||||
run: |
|
run: |
|
||||||
echo '${{env.MY_V_PATH}}'
|
echo 'path with some $punctuation, and some spaces'
|
||||||
dir
|
dir
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd 'path with some $punctuation, and some spaces'
|
||||||
dir
|
dir
|
||||||
.\make.bat -tcc
|
.\make.bat -tcc
|
||||||
- name: v doctor
|
- name: v doctor
|
||||||
run: |
|
run: |
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd 'path with some $punctuation, and some spaces'
|
||||||
./v doctor
|
./v doctor
|
||||||
- name: v tests
|
- name: v tests
|
||||||
run: |
|
run: |
|
||||||
cd '${{env.MY_V_PATH}}'
|
cd 'path with some $punctuation, and some spaces'
|
||||||
./v test vlib/builtin vlib/os
|
./v test vlib/builtin vlib/os
|
||||||
|
Loading…
x
Reference in New Issue
Block a user