Feat: Add working-directory field so you can release a sub-dir Rust project #67
Workflow file for this run
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: Lint | |
on: [push, pull_request] | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
jobs: | |
lint: | |
name: Check that code is lint clean using precious | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure Git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "J. Doe" | |
- name: Run install-dev-tools.sh | |
run: | | |
set -e | |
mkdir $HOME/bin | |
./dev/bin/install-dev-tools.sh | |
- name: Run precious | |
run: | | |
PATH=$PATH:$HOME/bin precious lint -a |