Files
notas-online/.github/workflows/ci.yml
T
lgcosta 12631ecd09
ci / check (push) Successful in 52s
ci(workflows): Pinned GitHub Actions to patch versions
- Pinned checkout to v4.2.2, setup-go to v5.3.0, and setup-node to v4.1.0.
- Left CI job steps and triggers unchanged.
2026-11-05 20:44:58 -03:00

28 lines
586 B
YAML

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-go@v5.3.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@v4.1.0
with:
node-version: 20
- name: gofmt
run: test -z "$(gofmt -l internal cmd)"
- name: go vet
run: go vet ./...
- name: go test -race
run: go test -race ./...
- name: frontend syntax
run: node --check web/js/app.js