diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml new file mode 100644 index 000000000..f71e7aae2 --- /dev/null +++ b/.github/workflows/docfx.yml @@ -0,0 +1,20 @@ +name: docfx + +on: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: windows-latest + + steps: + - name: check out code + uses: actions/checkout@v2 + + - name: install docfx + run: choco install docfx -y + + - name: run .\build\docfx.cmd + shell: cmd + run: .\build\docfx.cmd diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 4093e84a0..000000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: docs - -on: - pull_request: - branches: [ master ] - -jobs: - docfx: - runs-on: windows-latest - - steps: - - name: check out code - uses: actions/checkout@v2 - - - name: install docfx - run: choco install docfx -y - - - name: run .\build\docfx.cmd - shell: cmd - run: .\build\docfx.cmd - - markdownlint: - runs-on: ubuntu-latest - - steps: - - name: check out code - uses: actions/checkout@v2 - - - name: install markdownlint-cli - run: sudo npm install -g markdownlint-cli - - - name: run markdownlint - run: markdownlint . - - misspell: - runs-on: ubuntu-latest - - steps: - - name: check out code - uses: actions/checkout@v2 - - - name: install misspell - run: | - curl -L -o ./install-misspell.sh https://git.io/misspell - sh ./install-misspell.sh - - - name: run misspell - run: ./bin/misspell -error . diff --git a/.github/workflows/dotnet-core-cov.yml b/.github/workflows/dotnet-core-cov.yml index 36f7086bc..ee111be4e 100644 --- a/.github/workflows/dotnet-core-cov.yml +++ b/.github/workflows/dotnet-core-cov.yml @@ -3,8 +3,12 @@ name: .NET Code Coverage on: push: branches: [ master1 ] + paths-ignore: + - '**.md' pull_request: branches: [ master1 ] + paths-ignore: + - '**.md' jobs: build-test-report: diff --git a/.github/workflows/dotnet-core-linux.yml b/.github/workflows/dotnet-core-linux.yml index 271ffd5ae..2aa7e6ce9 100644 --- a/.github/workflows/dotnet-core-linux.yml +++ b/.github/workflows/dotnet-core-linux.yml @@ -3,6 +3,8 @@ name: .NET Linux on: pull_request: branches: [ master ] + paths-ignore: + - '**.md' jobs: build-test: diff --git a/.github/workflows/dotnet-core-win.yml b/.github/workflows/dotnet-core-win.yml index 355c8bf11..e8db23fc5 100644 --- a/.github/workflows/dotnet-core-win.yml +++ b/.github/workflows/dotnet-core-win.yml @@ -3,6 +3,8 @@ name: .NET Windows on: pull_request: branches: [ master ] + paths-ignore: + - '**.md' jobs: build-test: diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index d9d012dce..1b716598c 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -3,8 +3,12 @@ name: .NET on: push: branches: [ master ] + paths-ignore: + - '**.md' pull_request: branches: [ master ] + paths-ignore: + - '**.md' jobs: build-test-pack: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 87877aacc..b70ef8891 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -3,8 +3,12 @@ name: Integration Tests on: push: branches: [ master ] + paths-ignore: + - '**.md' pull_request: branches: [ master ] + paths-ignore: + - '**.md' jobs: redis-test: diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml new file mode 100644 index 000000000..29f167738 --- /dev/null +++ b/.github/workflows/markdownlint.yml @@ -0,0 +1,21 @@ +name: markdownlint + +on: + pull_request: + branches: [ master ] + paths: + - '**.md' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: check out code + uses: actions/checkout@v2 + + - name: install markdownlint-cli + run: sudo npm install -g markdownlint-cli + + - name: run markdownlint + run: markdownlint . diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 000000000..f762c2520 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,21 @@ +name: spellcheck + +on: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: check out code + uses: actions/checkout@v2 + + - name: install misspell + run: | + curl -L -o ./install-misspell.sh https://git.io/misspell + sh ./install-misspell.sh + + - name: run misspell + run: ./bin/misspell -error .