Skip to content

Add support for JS code generation for flix #2452

Add support for JS code generation for flix

Add support for JS code generation for flix #2452

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v1
with:
go-version: "1.19"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run tests
run: |
make ci
make check-tidy
make check-headers
make check-schema
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt
flags: unittests
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.19"
- name: generate
run: make generate
- uses: golangci/[email protected]
with:
version: v1.52.2
args: --timeout=3m