Skip to content

DOCS: Fixed 404 account URL in INWX documentation #2288

DOCS: Fixed 404 account URL in INWX documentation

DOCS: Fixed 404 account URL in INWX documentation #2288

name: "PR: Check git status"
on:
push:
branches:
- "tlim_testpr"
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
go-fmt:
name: "Check: go fmt"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-go@v6
with:
go-version: stable
- run: go fmt ./...
- uses: CatChen/check-git-status-action@v2
with:
fail-if-not-clean: true
prettier:
name: "Check: prettier"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-node@v6
with:
node-version: lts/*
- run: npm install
- run: node_modules/.bin/prettier --write pkg/js/helpers.js
- run: git checkout -- package-lock.json
- uses: CatChen/check-git-status-action@v2
with:
fail-if-not-clean: true
fmtjson:
name: "Check: fmtjson"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-go@v6
with:
go-version: stable
- run: go build -o dnscontrol .
- run: bin/fmtjson $(find . -type f -name "*.json" ! -name "package-lock.json" -print)
- uses: CatChen/check-git-status-action@v2
with:
fail-if-not-clean: true
go-mod-tidy:
name: "Check: go mod tidy"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-go@v6
with:
go-version: stable
- run: go mod tidy
- uses: CatChen/check-git-status-action@v2
with:
fail-if-not-clean: true
go-generate:
name: "Check: go generate"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-go@v6
with:
go-version: stable
- run: go install golang.org/x/tools/cmd/stringer@latest
- run: go generate ./...
- uses: CatChen/check-git-status-action@v2
with:
fail-if-not-clean: true
go-fix:
name: "Check: go fix"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-go@v6
with:
go-version: stable
- run: go fix ./...
- uses: CatChen/check-git-status-action@v2
with:
fail-if-not-clean: true