Skip to content

chore(deps): bump googleapis/release-please-action from 4 to 5 (#20) #34

chore(deps): bump googleapis/release-please-action from 4 to 5 (#20)

chore(deps): bump googleapis/release-please-action from 4 to 5 (#20) #34

Workflow file for this run

---
name: PR checks
on:
push:
branches: ["main"]
pull_request:
jobs:
# Check if there is any dirty change for go mod tidy
go-mod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
- name: Check go mod
run: |
go mod tidy
git diff --exit-code go.mod
lint:
name: lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [oldstable, stable]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.5
spell:
name: "Spell check"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
check_hidden: true
typos:
# https://github.com/crate-ci/typos
# Add exceptions to _typos.toml
# install and run locally: cargo install typos-cli && typos
name: typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v6
- name: Check spelling of entire workspace
uses: crate-ci/typos@v1
markdownlint:
name: markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DavidAnson/markdownlint-cli2-action@v22
with:
globs: '**/*.md'
yamllint:
name: 'yamllint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: karancode/yamllint-github-action@master
with:
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}