Skip to content

Merge pull request #229 from sacloud/zouen-apprun-application #349

Merge pull request #229 from sacloud/zouen-apprun-application

Merge pull request #229 from sacloud/zouen-apprun-application #349

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
lint:
name: lint
runs-on: ubuntu-latest
strategy:
matrix:
working-directory:
- './src/terraform'
- './src/terraform-policy'
- './src/top'
- './src/usacloud'
- './src/autoscaler'
- './src/prometheus'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: lint a document with textlint
uses: sacloud/textlint-action@v0.0.1
with:
working-directory: ${{ matrix.working-directory }}
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Build a document with mkdocs - src/terraform
uses: ./.github/actions/mkdocs
with:
working-directory: './src/terraform'
- name: Build a document with mkdocs - src/terraform-v1
uses: ./.github/actions/mkdocs
with:
working-directory: './src/terraform-v1'
- name: Build a document with mkdocs - src/terraform-policy
uses: ./.github/actions/mkdocs
with:
working-directory: './src/terraform-policy'
- name: Build a document with mkdocs - src/top
uses: ./.github/actions/mkdocs
with:
working-directory: './src/top'
- name: Build a document with mkdocs - src/usacloud
uses: ./.github/actions/mkdocs
with:
working-directory: './src/usacloud'
- name: Build a document with mkdocs - src/autoscaler
uses: ./.github/actions/mkdocs
with:
working-directory: './src/autoscaler'
- name: Build a document with mkdocs - src/prometheus
uses: ./.github/actions/mkdocs
with:
working-directory: './src/prometheus'