This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
Merge pull request #210 from reload/deprecated #425
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
on: push | |
name: Build and test | |
permissions: | |
contents: read | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arnested/go-version-action@v1 | |
id: version | |
- name: Setup Go ${{ steps.version.outputs.go-mod-version }}.x | |
uses: WillAbides/[email protected] | |
with: | |
go-version: ${{ steps.version.outputs.go-mod-version }}.x | |
ignore-local: true | |
- name: go test | |
env: | |
GO111MODULE: 'on' | |
run: go test --verbose -race -cover -covermode=atomic ./... |