Add options for github action workflows
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7078bd5..1be9d64 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,5 +1,11 @@
 name: GitHub Actions Build Test
-on: [push, pull_request]
+on:
+  push:
+    branches:
+        - master
+  pull_request:
+    branches:
+        - master
 jobs:
   cppcheck-test:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index 56494e2..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-name: test
-on: [push, pull_request]
-jobs:
-  cppcheck-test:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v4
-    - name: install dependencies
-      run: |
-        sudo apt-get -y update && sudo apt-get install -y cppcheck && \
-        cppcheck . --force --inline-suppr
-  build-test-ubuntu-ish:
-    strategy:
-      matrix:
-        os: [ubuntu-latest, ubuntu-22.04, ubuntu-22.04-arm]
-    runs-on: ${{ matrix.os }}
-    steps:
-    - uses: actions/checkout@v4
-    - name: install dependencies
-      run: |
-        sudo apt-get -y update && sudo apt-get install -y build-essential
-    - name: build
-      run: |
-        ./configure && make && make check
-        timeout 300 src/iperf3 -s &
-        ./test_commands.sh localhost
-  build-test-macos-ish:
-    strategy:
-      matrix:
-        os: [macos-15, macos-14]
-    runs-on: ${{ matrix.os }}
-    steps:
-    - uses: actions/checkout@v4
-    - name: install dependencies
-      run: |
-        brew install coreutils
-    - name: build
-      run: |
-        ./configure && make && make check
-        gtimeout 300 src/iperf3 -s &
-        ./test_commands.sh localhost