.github/workflows/windows.yml in metanorma-ietf-2.0.6 vs .github/workflows/windows.yml in metanorma-ietf-2.0.7
- old
+ new
@@ -1,14 +1,13 @@
-# Auto-generated !!! Do not edit it manually
-# use ci-master https://github.com/metanorma/metanorma-build-scripts
+# Auto-generated by Cimas: Do not edit it manually!
+# See https://github.com/metanorma/cimas
name: windows
on:
push:
branches: [ master ]
pull_request:
- branches: [ '**' ]
jobs:
test-windows:
name: Test on Ruby ${{ matrix.ruby }} Windows
runs-on: windows-latest
@@ -16,28 +15,33 @@
fail-fast: false
matrix:
ruby: [ '2.6', '2.5', '2.4' ]
steps:
- uses: actions/checkout@master
+ - name: Cache xml2rfc
+ id: cache-xml2rfc
+ uses: actions/cache@v1
+ with:
+ path: ~/.cache/xml2rfc
+ key: xml2rfc
+ restore-key: xml2rfc
- name: Use Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
architecture: 'x64'
- name: Update gems
shell: pwsh
run: |
- gem install bundler
- bundle config --local path vendor/bundle
- bundle update
+ gem install bundler
bundle install --jobs 4 --retry 3
- name: Use Python
uses: actions/setup-python@v1
with:
- python-version: '2.7'
+ ruby-version: '2.7'
architecture: 'x64'
- name: Install xml2rfc
run: |
pip install xml2rfc
- name: Run specs
run: |
- bundle exec rake
+ bundle exec rake
\ No newline at end of file