Skip to content

Github Actions の actions/cache, actions/checkout を v4 に上げる #99

Github Actions の actions/cache, actions/checkout を v4 に上げる

Github Actions の actions/cache, actions/checkout を v4 に上げる #99

Workflow file for this run

name: build-workflow
on:
pull_request:
push:
branches:
- main
- develop
paths-ignore:
- 'doc/**'
- '**.md'
- 'THANKS'
- 'LICENSE'
- 'NOTICE'
jobs:
lint:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04_x86_64
name: Lint cpp-mp4 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 cpp-mp4
run: PATH=$PATH:~/.local/bin:~/go/bin ./lint.bash
timeout-minutes: 120
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: hisui
SLACK_COLOR: danger
SLACK_TITLE: Failure lint
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}