Skip to content

Render using a scrolling buffer #42

Render using a scrolling buffer

Render using a scrolling buffer #42

Workflow file for this run

name: tests
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
test:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go: ['1.19', '1.20']
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@master
- name: Running go tests
env:
GO111MODULE: on
run: make test
examples:
name: Build examples
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@master
- name: Building go examples
env:
GO111MODULE: on
run: ./_example/build.sh
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest