|
90 | 90 | - name: Install tools |
91 | 91 | run: | |
92 | 92 | xargs -L1 go install < .github/tools/go.txt |
| 93 | + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8 |
93 | 94 | luarocks install busted --local |
94 | 95 | luarocks install nlua --local |
95 | 96 | - name: Clone guard.nvim |
@@ -163,13 +164,17 @@ jobs: |
163 | 164 | with: |
164 | 165 | neovim: true |
165 | 166 | version: nightly |
| 167 | + - uses: actions/setup-java@v4 |
| 168 | + with: |
| 169 | + distribution: temurin |
| 170 | + java-version: 21 |
166 | 171 | - uses: leso-kn/gh-actions-lua@master |
167 | 172 | with: |
168 | 173 | luaVersion: "5.1" |
169 | 174 | - uses: hishamhm/gh-actions-luarocks@master |
170 | 175 | - name: Install tools |
171 | 176 | run: | |
172 | | - sudo apt-get install -y zsh |
| 177 | + sudo apt-get install -y zsh shellcheck |
173 | 178 | luarocks install busted --local |
174 | 179 | luarocks install nlua --local |
175 | 180 | bash .github/scripts/install-binary-tools.sh "$HOME/.local/bin" |
@@ -205,3 +210,62 @@ jobs: |
205 | 210 | export LUA_PATH="lua/?.lua;lua/?/init.lua;$LUA_PATH" |
206 | 211 | busted --lua nlua test/apt/*_spec.lua |
207 | 212 |
|
| 213 | + test-dotnet: |
| 214 | + runs-on: ubuntu-latest |
| 215 | + steps: |
| 216 | + - uses: actions/checkout@v4 |
| 217 | + - uses: rhysd/action-setup-vim@v1 |
| 218 | + with: |
| 219 | + neovim: true |
| 220 | + version: nightly |
| 221 | + - uses: actions/setup-dotnet@v4 |
| 222 | + with: |
| 223 | + dotnet-version: '8.0' |
| 224 | + - uses: leso-kn/gh-actions-lua@master |
| 225 | + with: |
| 226 | + luaVersion: "5.1" |
| 227 | + - uses: hishamhm/gh-actions-luarocks@master |
| 228 | + - name: Install tools |
| 229 | + run: | |
| 230 | + dotnet tool install -g csharpier |
| 231 | + luarocks install busted --local |
| 232 | + luarocks install nlua --local |
| 233 | + - name: Clone guard.nvim |
| 234 | + run: git clone --depth 1 https://github.com/nvimdev/guard.nvim && mv guard.nvim/lua/guard lua/ |
| 235 | + - name: Run tests |
| 236 | + run: | |
| 237 | + export LUA_PATH="lua/?.lua;lua/?/init.lua;$LUA_PATH" |
| 238 | + busted --lua nlua test/dotnet/*_spec.lua |
| 239 | +
|
| 240 | + test-ruby: |
| 241 | + runs-on: ubuntu-latest |
| 242 | + steps: |
| 243 | + - uses: actions/checkout@v4 |
| 244 | + - uses: rhysd/action-setup-vim@v1 |
| 245 | + with: |
| 246 | + neovim: true |
| 247 | + version: nightly |
| 248 | + - uses: ruby/setup-ruby@v1 |
| 249 | + with: |
| 250 | + ruby-version: '3.3' |
| 251 | + - uses: leso-kn/gh-actions-lua@master |
| 252 | + with: |
| 253 | + luaVersion: "5.1" |
| 254 | + - uses: hishamhm/gh-actions-luarocks@master |
| 255 | + - name: Install tools |
| 256 | + run: | |
| 257 | + gem install rubocop bundler |
| 258 | + luarocks install busted --local |
| 259 | + luarocks install nlua --local |
| 260 | + - name: Setup rubocop Gemfile |
| 261 | + run: | |
| 262 | + mkdir -p /tmp/rubocop-test |
| 263 | + printf "source 'https://rubygems.org'\ngem 'rubocop'\n" > /tmp/rubocop-test/Gemfile |
| 264 | + cd /tmp/rubocop-test && bundle install |
| 265 | + - name: Clone guard.nvim |
| 266 | + run: git clone --depth 1 https://github.com/nvimdev/guard.nvim && mv guard.nvim/lua/guard lua/ |
| 267 | + - name: Run tests |
| 268 | + run: | |
| 269 | + export LUA_PATH="lua/?.lua;lua/?/init.lua;$LUA_PATH" |
| 270 | + busted --lua nlua test/ruby/*_spec.lua |
| 271 | +
|
0 commit comments