Skip to content

Update ci_check.yml #67

Update ci_check.yml

Update ci_check.yml #67

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: CI check
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
Build Test:

Check failure on line 14 in .github/workflows/ci_check.yml

View workflow run for this annotation

GitHub Actions / CI check

Invalid workflow file

The workflow is not valid. .github/workflows/ci_check.yml (Line: 14, Col: 3): The identifier 'Build Test' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/ci_check.yml (Line: 27, Col: 3): The identifier 'Build Example' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Test1
run: GOOS=js GOARCH=wasm go build -o build/main.wasm tests/test1/test1.go
Build Example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Example
run: GOOS=js GOARCH=wasm go build -o build/main.wasm example/example.go