Skip to content

Commit

Permalink
ci: update GitHub action versions to prevent warnings (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon authored Sep 9, 2024
1 parent c47c4e8 commit 91c4bde
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
VFLAGS: -cc tcc
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -64,15 +64,15 @@ jobs:
VAB_FLAGS: -v 3
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -131,15 +131,15 @@ jobs:
VAB_FLAGS: -v 3
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -196,15 +196,15 @@ jobs:
VAB_FLAGS: -v 3
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -241,15 +241,15 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -279,15 +279,15 @@ jobs:
#timeout-minutes: 10
#steps:
#- name: Checkout V
#uses: actions/checkout@v2
#uses: actions/checkout@v4
#with:
#repository: vlang/v

#- name: Build local v
#run: make -j4

#- name: Checkout vab
#uses: actions/checkout@v2
#uses: actions/checkout@v4
#with:
#path: vab

Expand Down Expand Up @@ -342,7 +342,7 @@ jobs:
VAB_FLAGS: -cg -v 3 --api 31 --build-tools 30.0.3
steps:

#- uses: actions/setup-java@v2
#- uses: actions/setup-java@v4
#with:
#distribution: 'adopt'
#java-version: 15
Expand All @@ -354,13 +354,13 @@ jobs:

# TODO https://github.com/vlang/setup-v/issues
- name: Checkout V examples
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v
path: v

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_emulator_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
VAB_FLAGS: -cg -f '-d no_load_styles' -v 3 --api 30 --build-tools 29.0.0 --device auto --log-clear --archs x86_64
VFLAGS: -no-parallel
steps:
- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 8

- name: Install V
uses: vlang/setup-v@v1
uses: vlang/setup-v@v1.4
with:
check-latest: true

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
VFLAGS: -cc tcc
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand All @@ -39,20 +39,20 @@ jobs:
MOPTIONS: --relative-paths --exclude /tests/
steps:
- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j4 && sudo ./v symlink

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

- name: Checkout previous vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/vab
ref: master
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/matrix_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ jobs:
env:
VAB_FLAGS: -v 3 --build-tools 29.0.0
steps:
- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}

- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j2

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -102,21 +102,21 @@ jobs:
env:
VAB_FLAGS: -v 3 -gc none --build-tools 29.0.0
steps:
- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}

- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j2

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down Expand Up @@ -167,21 +167,21 @@ jobs:
env:
VAB_FLAGS: -v 3 --build-tools 29.0.0
steps:
- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}

- name: Checkout V
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: vlang/v

- name: Build local v
run: make -j2

- name: Checkout vab
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: vab

Expand Down

0 comments on commit 91c4bde

Please sign in to comment.