Add helper class for Wikidata items, including lexemes #340
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2022 Sascha Brawer <sascha@brawer.ch> | |
# SPDX-License-Identifier: MIT | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check REUSE Compliance | |
uses: fsfe/reuse-action@v1 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.22.2 | |
- name: Build | |
run: | | |
go build -ldflags="-s -w" -v ./cmd/... | |
- name: Test | |
run: go test -v ./... |