Skip to content

Commit

Permalink
Build pull requests properly
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Apr 30, 2023
1 parent b177022 commit 59f56dc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
name: CI

on: [push]
on:
push:
# Don't build tags; that's redundant with pushes to main normally.
tags-ignore: '*'
# Only build main, for all other branches rely on pull requests. This
# avoids duplicate builds for pull requests.
branches: main
# Don't build for trivial changes
paths-ignore:
- '*.md'
- 'LICENSE'
pull_request:


jobs:
rustfmt:
Expand Down

0 comments on commit 59f56dc

Please sign in to comment.