From d34d8c287ff9afa6e8f336c85c4a309503497473 Mon Sep 17 00:00:00 2001 From: ras0q Date: Wed, 29 Nov 2023 06:18:50 +0900 Subject: [PATCH] :wrench: add github config --- .github/dependabot.yml | 17 +++++++++++++++++ .github/workflows/ci.yml | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f0615d6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + reviewers: ["ras0q"] + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "monthly" + reviewers: ["ras0q"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..96be20d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: Go CI + +on: + push: + branches: + - main + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 + with: + go-version-file: ./go.mod + - run: go mod download + - run: go build -v ./...