Skip to content

Commit

Permalink
only run CI once per commit in PR (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenwallis authored Dec 17, 2022
1 parent 172f0b2 commit ccd6b2f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -40,6 +45,7 @@ jobs:

# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
# skip-build-cache: true

test:
name: test | ${{ matrix.go_version }}
strategy:
Expand Down

0 comments on commit ccd6b2f

Please sign in to comment.