Refactor signals #165
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 gatewayd-plugin-cache | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
test: | |
name: Test gatewayd-plugin-cache | |
runs-on: ubuntu-latest | |
# Timeout after 3 minutes, to avoid hanging tests | |
timeout-minutes: 3 | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Go π§βπ» | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20' | |
- name: Lint code issues π¨ | |
uses: golangci/golangci-lint-action@v3 | |
- name: Run Go tests π¬ | |
run: go test -cover -covermode atomic -coverprofile=profile.cov -v ./... | |
# Enable coverage reporting | |
# - name: Report coverage to coveralls π | |
# uses: shogo82148/actions-goveralls@v1 | |
# with: | |
# path-to-profile: profile.cov |