Lint eb6a9b8428cc2c3cbb054b4efe24b690f022f97b #47
This file contains hidden or 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 | |
| run-name: Lint ${{github.sha}} | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Build Docker container for lint | |
| run: docker build -t usmile-lint -f Dockerfile.lint . | |
| - name: Run built container | |
| run: docker run usmile-lint |