31 lines
768 B
YAML
31 lines
768 B
YAML
name: Checks
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
container: node:22-bookworm
|
|
timeout-minutes: 20
|
|
steps:
|
|
- name: Prepare CI tools
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends python3 git ca-certificates
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Set up Go
|
|
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
|
with:
|
|
go-version: '1.26.7'
|
|
cache: false
|
|
- name: Check code and bundled assets
|
|
run: python3 tools/ci/check.py
|