all: Update for core changes #235
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: Test | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
go-version: [ '1.21', '1.22' ] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- name: Configure git # required for golangci-lint on Windows | |
shell: bash | |
run: git config --global core.autocrlf false | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
skip-cache: true | |
- name: test | |
uses: n8maninger/action-golang-test@v2 | |
with: | |
args: "-race" | |
skip-go-install: true | |
show-package-output: true |