Skip to content

Commit 1a6780d

Browse files
authoredSep 27, 2021
Merge pull request #9 from kana/update-toolchain
Update toolchain
2 parents 0a78169 + 2a854ea commit 1a6780d

File tree

9 files changed

+44
-9
lines changed

9 files changed

+44
-9
lines changed
 

‎.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "bundler"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
versioning-strategy: increase

‎.github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: 0 0 * * *
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Ruby
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20+
- name: Get local Vim version
21+
run: echo "local_vim_version=$(<.vim-version)" >>$GITHUB_ENV
22+
- name: Set up Vim
23+
uses: thinca/action-setup-vim@v1
24+
with:
25+
vim_version: ${{ github.event_name == 'schedule' && 'head' || env.local_vim_version }}
26+
vim_type: vim
27+
download: never # For some reason 'available' doesn't build from source as a fallback.
28+
- name: Run tests
29+
# 2>&1 required to avoid interleaved stdout and stderr in log.
30+
run: rake ci 2>&1

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vim-flavor
2+
Flavorfile.lock
23
Gemfile.lock
3-
VimFlavor.lock
4+
tags

‎.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.2

‎.travis.yml

-5
This file was deleted.

‎.vim-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v8.2.3446

‎VimFlavor ‎Flavorfile

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
flavor 'kana/vim-textobj-user', '~> 0.4'
2+
3+
# vim: filetype=ruby

‎Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source 'https://rubygems.org'
22

3-
gem 'vim-flavor', '~> 2.1'
3+
gem 'vim-flavor', '~> 4.0'

‎Rakefile

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env rake
2-
31
task :ci => [:dump, :test]
42

53
task :dump do

0 commit comments

Comments
 (0)