Merge pull request #21 from akm/features/emoji_option #3
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: | |
push: | |
branches: | |
- "**" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
strategy: | |
matrix: | |
go: ["1.21", "1.22", "1.23"] | |
name: Test on Go ${{ matrix.go }} | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
# https://github.com/actions/setup-go | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check golang version/env | |
run: | | |
set -x | |
go version | |
go env | |
- name: build | |
run: make build | |
- name: lint | |
run: make lint | |
- name: test | |
run: make test |