this might actually fix everything, but at the same time this might be the stupidest commit i've ever made
This commit is contained in:
parent
64ce7d26dd
commit
0102d1b02f
1 changed files with 9 additions and 12 deletions
21
.github/workflows/tests.yml
vendored
21
.github/workflows/tests.yml
vendored
|
|
@ -25,11 +25,13 @@ jobs:
|
||||||
version: 3.x
|
version: 3.x
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Go mod init
|
||||||
|
run: go mod init github.com/olexsmir/gopher.nvim
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.24.0"
|
go-version: "1.24.0"
|
||||||
check-latest: false
|
|
||||||
|
|
||||||
- name: Install Neovim
|
- name: Install Neovim
|
||||||
uses: rhysd/action-setup-vim@v1
|
uses: rhysd/action-setup-vim@v1
|
||||||
|
|
@ -37,17 +39,12 @@ jobs:
|
||||||
neovim: true
|
neovim: true
|
||||||
version: ${{ matrix.versions }}
|
version: ${{ matrix.versions }}
|
||||||
|
|
||||||
|
- name: Fix envs
|
||||||
- name: Once again, what does it say?
|
id: fix-envs
|
||||||
run: |
|
run:
|
||||||
nvim --clean --headless -u ./scripts/minimal_init.lua +"=vim.system({'gotests'}):wait().stdout" +q
|
echo "GOPATH=/home/runner/go" >> $GITHUB_ENV
|
||||||
echo "PATH -- $PATH"
|
echo "GOBIN=$GOPATH/bin" >> $GITHUB_ENV
|
||||||
echo "GOBIN $GOBIN"
|
echo "$GOBIN" >> $GITHUB_PATH
|
||||||
echo "GOPATH $GOPATH"
|
|
||||||
echo `whereis gotests`
|
|
||||||
echo `gotests -version`
|
|
||||||
ls /home/runner/go/bin
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
- name: Install Go bins
|
- name: Install Go bins
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue