Skip to content

Merge branch 'release/2023.2.0' into develop #490

Merge branch 'release/2023.2.0' into develop

Merge branch 'release/2023.2.0' into develop #490

Workflow file for this run

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@v3
- 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 }}