Skip to content

trying custom action #4

trying custom action

trying custom action #4

Workflow file for this run

name: CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
permissions:
contents: read
env:
GO_VERSION: 1.19.13
NODE_VERSION: 20
GOPHERJS_EXPERIMENT: generics
SOURCE_MAP_SUPPORT: true
GOPATH: ${{ github.workspace }}/go
GOPHERJS_PATH: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-gopherjs/
- name: Test GopherJS
run: go test -v -short ./...
- name: Smoke tests
run: |
gopherjs build -v net/http
gopherjs test -v --short fmt log os ./tests
windows_smoke:
needs: build
name: Windows Smoke
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-gopherjs/
- name: Test GopherJS
run: go test -v -short ./...
- name: Smoke tests
run: |
gopherjs build -v net/http
gopherjs test -v --short fmt sort ./tests
darwin_smoke:
needs: build
name: Darwin Smoke
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-gopherjs/
- name: Test GopherJS
run: |
go test -v -short ./...
- name: Smoke tests
run: |
gopherjs build -v net/http
gopherjs test -v --short fmt log os ./tests