ビルドに必要なライブラリの更新 #518
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
- develop | |
paths-ignore: | |
- 'doc/**' | |
- '**.md' | |
- 'THANKS' | |
- 'LICENSE' | |
- 'NOTICE' | |
jobs: | |
lint: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04_x86_64 | |
name: Lint hisui for ${{ matrix.os }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install packages | |
shell: bash | |
run: | | |
go install github.com/client9/misspell/cmd/misspell@latest | |
sudo apt update | |
sudo apt install -yq shellcheck | |
sudo rm -rf /var/lib/apt/lists/* | |
pip3 install --user cpplint | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
- uses: actions/checkout@v4 | |
- name: Lint hisui | |
run: PATH=$PATH:~/.local/bin:~/go/bin ./lint.bash | |
timeout-minutes: 120 | |
- name: Slack Notification | |
if: failure() | |
uses: rtCamp/action-slack-notify@v2.2.1 | |
env: | |
SLACK_CHANNEL: hisui | |
SLACK_COLOR: danger | |
SLACK_TITLE: Failure lint | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |