Skip to content

Port the build system to meson #469

Port the build system to meson

Port the build system to meson #469

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
jobs:
lint-commits:
name: Lint commits
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go mod download
- name: Run commitsar
uses: aevea/[email protected]
lint-code:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Set up go
uses: actions/setup-go@v5
with:
go-version: "1.19"
- name: Check out code
uses: actions/checkout@v4
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: "latest"
args: "--verbose"
- name: Install shellcheck
run: sudo apt install shellcheck
- name: Check shell bash scripts
run: shellcheck ./data/completion/rhc.bash
lint-language:
name: Lint language
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run woke
uses: get-woke/woke-action@v0
with:
fail-on-error: true