Skip to content

Merge pull request #166 from reload/dependabot/github_actions/actions… #109

Merge pull request #166 from reload/dependabot/github_actions/actions…

Merge pull request #166 from reload/dependabot/github_actions/actions… #109

Workflow file for this run

name: Build and test
on:
push:
paths:
- 'webhook/**'
- '.github/workflows/**'
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
with:
working-directory: webhook
- 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
working-directory: webhook
env:
GO111MODULE: 'on'
run: go test --verbose -race -cover -covermode=atomic ./...