mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-16 20:20:57 +01:00
* add color table support (using alternating colorization of rows) using new flag `-L` * add config file support (HCL format) using `~/.config/tablizer/config` or `-f <file>` so the user can customize colors * removed golang 1.17 support
39 lines
788 B
YAML
39 lines
788 B
YAML
name: build-and-test-tablizer
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
version: [1.18, 1.19]
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
name: Build
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Set up Go 1.18
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
id: go
|
|
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: build
|
|
run: make
|
|
|
|
- name: test
|
|
run: make test
|
|
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.18
|
|
- uses: actions/checkout@v3
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
skip-cache: true
|