From 7e3e34ad257971a9606f0a5fb361cdbea5cad7df Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Tue, 5 Nov 2024 16:49:17 +0100 Subject: [PATCH] enable basic github actions --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/citest.yml | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/citest.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..282063c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "04:00" + pull-request-branch-name: + separator: "-" + open-pull-requests-limit: 10 diff --git a/.github/workflows/citest.yml b/.github/workflows/citest.yml new file mode 100644 index 0000000..ceda10f --- /dev/null +++ b/.github/workflows/citest.yml @@ -0,0 +1,24 @@ +name: citest +on: + push: + pull_request: + schedule: + - cron: '30 4 * * 1' +jobs: + test: + strategy: + fail-fast: false + matrix: + go-version: + - 1.22.x + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - uses: actions/checkout@v4 + - run: make clean + - run: make citest + - run: make