Skip to content

Merge pull request #146 from AndreasSko/schema_14 #710

Merge pull request #146 from AndreasSko/schema_14

Merge pull request #146 from AndreasSko/schema_14 #710

Workflow file for this run

name: CI
on: [push]
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.github_token }}
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Checkout code
uses: actions/checkout@v3
- name: Run tests
run: go test ./...
gomobile-ios:
runs-on: macos-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Install Gomobile
run: go install golang.org/x/mobile/cmd/gomobile@latest
- name: Checkout code
uses: actions/checkout@v3
- name: Initialize Gomobile
run: gomobile init
working-directory: gomobile
- name: Build for iOS
run: gomobile bind -target ios -v
working-directory: gomobile