enhancement: Update screenshot #154
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
# 🤖 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/[email protected] | |
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 {} + |