update github actions #1
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: | |
branches: '*' | |
push: | |
branches: | |
- master | |
- main | |
- 'release-*' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu, windows] | |
golang: ['1.22', '1.23'] | |
# currently, we cannot run non-x86_64 machines on Github Actions cloud env. | |
runs-on: ${{ matrix.os }}-latest | |
name: CI golang ${{ matrix.golang }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.golang }} | |
- name: Test | |
run: go test -v ./fluent |