summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Erik Rediger <janerik@fnordig.de>2024-09-11 17:02:43 +0200
committerJan-Erik Rediger <janerik@fnordig.de>2024-09-11 17:06:58 +0200
commitda7a43358396806bc9ff20281fe989a80840e026 (patch)
tree0bd36f6b1a3d017b23eaf085c008477edf59d075
parent2fb81ec272dc6acbc6630d46ceba6f3eeb3ec8f9 (diff)
CI: Only build pushes to mainHEADmain
-rw-r--r--.github/workflows/tests.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 3a639e7..f9daa2b 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -1,6 +1,9 @@
name: Tests
-on: [push, pull_request]
+on:
+ push:
+ branches: [main]
+ pull_request:
env:
RUSTFLAGS: -Dwarnings