Skip to content

add more poll tests #128

add more poll tests

add more poll tests #128

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
# actions/deploy-pages.
permissions:
pages: write
id-token: write
jobs:
all:
name: Test All
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7.0.0
- parallel:
- name: Set Up Go
uses: actions/setup-go@v7.0.0
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Set Up Node.js
uses: actions/setup-node@v7.0.0
with:
node-version-file: .nvmrc
cache: npm
- parallel:
- name: Install Go Dependencies
run: go mod download
- name: Install Node.js Dependencies
run: npm ci --no-fund
- parallel:
- name: Test Go Format
run: make test-fmt-go
- name: Test Module Format
run: make test-fmt-mod
- name: Lint Critic
run: make lint-critic
- name: Lint Static
run: make lint-static
- name: Lint Vet
run: make lint-vet
- name: Lint Web
run: make lint-web
- name: Test Go
run: make test-go
- name: Test Web
run: make test-web
- name: Typecheck Web
run: make typecheck-web
- name: Build Go Commands
run: make build-cmd
- name: Upload schemas/
uses: actions/upload-pages-artifact@v5.0.0
with:
path: schemas/
deploy:
environment:
name: github-pages
# skip PRs.
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: all
steps:
- uses: actions/deploy-pages@v5.0.0