Skip to content

Update export targets #37

Update export targets

Update export targets #37

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Pull Request Check
on:
pull_request:
branches: [main]
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build-check:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true
- name: Build Check
run: go build ./...
unit-test:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true
- name: Setup Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Build Check
run: go build ./...
- name: Run Tests
run: |
$ENV:CI='true'
go test ./...