Skip to content

Commit 9d87839

Browse files
committed
Installing php and java with gh actions
1 parent aba10f3 commit 9d87839

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,22 @@ jobs:
1616
with:
1717
neovim: true
1818
version: stable
19+
20+
- name: Set up JDK
21+
uses: actions/setup-java@v3
22+
with:
23+
distribution: 'temurin'
24+
java-version: '21'
25+
# cache: 'maven' # Change to 'gradle' if using Gradle
26+
27+
- name: Set up PHP
28+
uses: shivammathur/setup-php@v2
29+
with:
30+
php-version: '8.2'
31+
extensions: xml
32+
coverage: none # Options: none, xdebug, pcov
33+
tools: composer:v2
34+
1935
- name: Install dependencies
2036
run: |
2137
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
@@ -36,5 +52,5 @@ jobs:
3652
- name: debug
3753
if: always()
3854
run: |
39-
sudo cat ~/.local/state/nvim/lsp.log
55+
# sudo cat ~/.local/state/nvim/lsp.log
4056
java --version

0 commit comments

Comments
 (0)