Update tailor-lint.yml #9
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: Tailor Swift Lint | |
on: [push, pull_request] | |
jobs: | |
tailor-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Install Tailor | |
run: | | |
wget https://github.com/sleekbyte/tailor/releases/download/v0.12.0/tailor-0.12.0.tar | |
tar -xvf tailor-0.12.0.tar | |
sudo chmod +x tailor-0.12.0/* | |
sudo mv tailor-0.12.0/bin/tailor /usr/local/bin/tailor | |
- name: Run Tailor Lint | |
run: | | |
/usr/local/bin/tailor |