Skip to content

Commit

Permalink
Cleanup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Oct 25, 2024
1 parent a602b0c commit b9c4b0d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
name: Build and Test

on:
- push
- pull_request
push:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
- name: Run unit tests
run: go test -failfast -coverprofile=profile.cov
- name: Install goveralls
Expand Down

0 comments on commit b9c4b0d

Please sign in to comment.