mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
github: Format GitHub actions files
This commit is contained in:
parent
09eb822822
commit
b0b47e428b
2 changed files with 159 additions and 159 deletions
6
.github/workflows/test-dart-sass-v1.yml
vendored
6
.github/workflows/test-dart-sass-v1.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
name: TestDartSassV1
|
name: TestDartSassV1
|
||||||
env:
|
env:
|
||||||
|
@ -32,12 +32,12 @@ jobs:
|
||||||
- name: Install Ruby
|
- name: Install Ruby
|
||||||
uses: ruby/setup-ruby@036ef458ddccddb148a2b9fb67e95a22fdbf728b
|
uses: ruby/setup-ruby@036ef458ddccddb148a2b9fb67e95a22fdbf728b
|
||||||
with:
|
with:
|
||||||
ruby-version: '2.7'
|
ruby-version: "2.7"
|
||||||
bundler-cache: true #
|
bundler-cache: true #
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df
|
uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: "3.x"
|
||||||
- name: Install Mage
|
- name: Install Mage
|
||||||
run: go install github.com/magefile/mage@v1.15.0
|
run: go install github.com/magefile/mage@v1.15.0
|
||||||
- name: Install asciidoctor
|
- name: Install asciidoctor
|
||||||
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
name: Test
|
name: Test
|
||||||
env:
|
env:
|
||||||
|
@ -16,7 +16,7 @@ jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.21.x,1.22.x]
|
go-version: [1.21.x, 1.22.x]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -34,12 +34,12 @@ jobs:
|
||||||
- name: Install Ruby
|
- name: Install Ruby
|
||||||
uses: ruby/setup-ruby@036ef458ddccddb148a2b9fb67e95a22fdbf728b
|
uses: ruby/setup-ruby@036ef458ddccddb148a2b9fb67e95a22fdbf728b
|
||||||
with:
|
with:
|
||||||
ruby-version: '2.7'
|
ruby-version: "2.7"
|
||||||
bundler-cache: true #
|
bundler-cache: true #
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df
|
uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: "3.x"
|
||||||
- name: Install Mage
|
- name: Install Mage
|
||||||
run: go install github.com/magefile/mage@v1.15.0
|
run: go install github.com/magefile/mage@v1.15.0
|
||||||
- name: Install asciidoctor
|
- name: Install asciidoctor
|
||||||
|
|
Loading…
Reference in a new issue