This repository has been archived by the owner on May 29, 2024. It is now read-only.
Update Readme and doc website to reflect deprecated status #450
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hygeiene | |
on: | |
push: | |
branches: [ "master", "development" ] | |
pull_request: | |
branches: [ "master", "development" ] | |
jobs: | |
ensure-mock-gen: | |
# Generation assurance test workflow | |
# (e.g. no uncovered diffs in go-mocks) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Install mockgen | |
run: go install github.com/golang/mock/mockgen@v1.6.0 | |
- name: Mock diff check | |
run: make go-gen-mocks && git diff --exit-code | |
golangci: | |
# Linting job | |
# https://github.com/golangci/golangci-lint-action | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | |
version: v1.52.1 | |
markdown-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install markdownlint CLI | |
run: npm install -g markdownlint-cli | |
- name: Run markdownlint | |
run: markdownlint '**/*.md' |