Exclude markdown from actions (#2000)

This commit is contained in:
Austin Johnson 2022-09-24 03:14:53 -05:00 committed by GitHub
parent d4ba481de7
commit 6b0aa264d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,12 @@ name: Rust
on: on:
push: push:
branches: [ master ] branches: [ master ]
paths-ignore:
- '**.md'
pull_request: pull_request:
branches: [ master ] branches: [ master ]
paths-ignore:
- '**.md'
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -14,14 +18,14 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Ninja Install - name: Ninja Install
uses: crazy-max/ghaction-chocolatey@v1.3.1 uses: crazy-max/ghaction-chocolatey@v2
with: with:
args: install ninja args: install ninja
- name: Python3 Install - name: Python3 Install
uses: crazy-max/ghaction-chocolatey@v1.3.1 uses: crazy-max/ghaction-chocolatey@v2
with: with:
args: install python3 --params "/InstallAllUsers" args: install python3 --params "/InstallAllUsers"
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests
@ -29,7 +33,7 @@ jobs:
linux_stable: linux_stable:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests
@ -37,7 +41,7 @@ jobs:
macos_stable: macos_stable:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests