feat: custom dictionaries can be in json or txt #31
Workflow file for this run
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
name: CI | |
on: [pull_request] | |
jobs: | |
build: | |
name: Test | |
strategy: | |
matrix: | |
go-version: ["1.21", "1.22"] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set GOPATH, PATH and ENV | |
run: | | |
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV | |
echo "GO111MODULE=on" >> $GITHUB_ENV | |
shell: bash | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: Test | |
run: go test -v ./... |