[mirror] Make your go dev experience better github.com/olexsmir/gopher.nvim
neovim golang
at main 1.3 kB view raw
1name: tests 2 3on: 4 push: 5 branches: 6 - main 7 - develop 8 pull_request: 9 10jobs: 11 tests: 12 strategy: 13 matrix: 14 os: [ubuntu-latest] 15 version: 16 - stable 17 - nightly 18 - v0.10.0 19 - v0.10.4 20 - v0.11.0 21 - v0.11.1 22 - v0.11.2 23 - v0.11.3 24 - v0.11.4 25 runs-on: ${{ matrix.os }} 26 steps: 27 - name: Install Task 28 uses: arduino/setup-task@v1 29 with: 30 version: 3.x 31 repo-token: ${{ secrets.GITHUB_TOKEN }} 32 33 - name: Install Go 34 uses: actions/setup-go@v5 35 with: 36 go-version: "1.24.0" 37 check-latest: false 38 39 - name: Install NeoVim 40 uses: rhysd/action-setup-vim@v1 41 with: 42 neovim: true 43 version: ${{ matrix.version }} 44 45 - uses: actions/checkout@v4 46 47 - name: Cache .tests 48 uses: actions/cache@v4 49 with: 50 path: | 51 ${{ github.workspace }}/.tests 52 ~/.cache/go-build 53 ~/go/pkg/mod 54 key: ${{ runner.os }}-tests-${{ hashFiles('${{ github.workspace }}/.tests') }} 55 56 - name: Install Go bins 57 run: task install-deps 58 59 - name: Run Tests 60 run: | 61 nvim --version 62 task test