Skip to content

Add CodeQL analysis workflow configuration #37

Add CodeQL analysis workflow configuration

Add CodeQL analysis workflow configuration #37

Workflow file for this run

name: Run PR Checks
on:
push:
pull_request:
jobs:
run-tests:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.17, 1.16, 1.15]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Build and test
run: make
build-all-platforms:
name: Build all platforms
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
go-version: [1.17]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Build all supported platforms
run: JP_VERSION=100.100.100 ./scripts/build-all-platforms