Skip to content

fix: spelling using misspell -source=auto -w . #4

fix: spelling using misspell -source=auto -w .

fix: spelling using misspell -source=auto -w . #4

Workflow file for this run

on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.25.5'
cache: false
- run: go env
# Formating checking
- name: Check gofmt
run: |
if [ -n "$(gofmt -s -l .)" ]; then
echo "Go files are not formatted. Run 'gofmt -s -w .' to fix."
exit 1
fi
# Running tests
- name: Run tests
run: |
cd api
go test -v ./... --count=1
cd ../renderer/
go test -v ./... --count=1
cd ../storage/
go test -v ./... --count=1
cd ..
# Spelling check
- name: Check spelling
run: |
curl -L -o ./install-misspell.sh https://git.io/misspell
sh ./install-misspell.sh
mv ./bin/misspell .
chmod +x ./misspell
./misspell -source=auto -error .