ignore /target/ when building Docker image #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- 'assets/' | |
- 'dist/' | |
- 'docs/' | |
- 'snap/' | |
- '.adr-dir' | |
- 'Dockerfile' | |
- 'LICENSE' | |
- 'Makefile' | |
- 'monolith.nuspec' | |
- 'README.md' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
rust: | |
- stable | |
runs-on: ${{ matrix.os }} | |
steps: | |
- run: git config --global core.autocrlf false | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --all --locked --verbose |