From 43e65c0a495c1f928240c0bfbe11d9f4594de2f6 Mon Sep 17 00:00:00 2001 From: Yutaro Hayakawa Date: Wed, 8 Jan 2025 00:29:36 +0900 Subject: [PATCH] Setup GHA for testing Signed-off-by: Yutaro Hayakawa --- .github/workflows/tests.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..eaceed6 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,25 @@ +name: Tests + +on: + push: + branches: + - main + pull_request: + +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Check kernel module + run: lsmod + + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: ./go.mod + + - name: Run tests + run: ./test.sh