Skip to content

Update README.md

Update README.md #152

Workflow file for this run

# 🤖 Run Terraform plan, linting, Golang tests, etc. for pull requests
name: ai-code-critic
defaults:
run:
shell: bash
on:
push:
branches:
- '**'
jobs:
build_and_test_go:
name: 🏗️ Build and Test
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout Code
uses: actions/checkout@v3
- name: 🚀 Set up Go
uses: actions/setup-go@v4.1.0
with:
go-version: '1.21.4'
cache: true
check-latest: true
- name: 🏗 Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev libgl1-mesa-dev
- name: 🧹 Tidy
run: go mod tidy
- name: 🤖 Build
run: go build .
- name: 🕵️‍♂️ Run GolangCI-Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: 🧪 Execute Tests
run: make test-race
lint-markdown:
name: 📝 Lint README
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout Code
uses: actions/checkout@v3
- name: 📦 Install Node.js and npm
uses: actions/setup-node@v3
with:
node-version: '20.0.0'
- name: 📚 Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: 🖊️ Run markdownlint
run: find . -name '*.md' -exec markdownlint {} +