Merge branch 'feature/update-deps'
This commit is contained in:
commit
5607a1755a
2 changed files with 7 additions and 10 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: 'Continuous Integration'
|
name: 'CI'
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
|
@ -18,23 +18,20 @@ on:
|
||||||
- '**'
|
- '**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
ruby: [2.5, 2.6, 2.7, 3]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # for posts's lastmod
|
fetch-depth: 0 # for posts's lastmod
|
||||||
|
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.7
|
ruby-version: ${{ matrix.ruby }}
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
|
|
||||||
- name: Test Site
|
- name: Test Site
|
||||||
run: bash tools/deploy.sh --dry-run
|
run: bash tools/deploy.sh --dry-run
|
||||||
|
|
|
@ -16,14 +16,14 @@ Gem::Specification.new do |spec|
|
||||||
|
|
||||||
spec.metadata = {
|
spec.metadata = {
|
||||||
"bug_tracker_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/issues",
|
"bug_tracker_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/issues",
|
||||||
"documentation_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/README.md",
|
"documentation_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/#readme",
|
||||||
"homepage_uri" => "https://cotes2020.github.io/chirpy-demo",
|
"homepage_uri" => "https://cotes2020.github.io/chirpy-demo",
|
||||||
"source_code_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy",
|
"source_code_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy",
|
||||||
"wiki_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/wiki",
|
"wiki_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/wiki",
|
||||||
"plugin_type" => "theme"
|
"plugin_type" => "theme"
|
||||||
}
|
}
|
||||||
|
|
||||||
spec.required_ruby_version = ">= 2.4"
|
spec.required_ruby_version = ">= 2.5"
|
||||||
|
|
||||||
spec.add_runtime_dependency "jekyll", "~> 4.1"
|
spec.add_runtime_dependency "jekyll", "~> 4.1"
|
||||||
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
|
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
|
||||||
|
|
Loading…
Reference in a new issue