From 4dee509c766469f326e61bfd16cedc95973d8954 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Tue, 8 Nov 2022 19:39:44 -0800 Subject: [PATCH] Add GitHub Actions --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/ci.yml | 18 ++++++++++++++++++ 2 files changed, 28 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..d30f881 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..82f6f71 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: make +on: + push: + branches: + - main + pull_request: +jobs: + build: + name: test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - run: wget https://github.com/tinygo-org/tinygo/releases/download/v0.26.0/tinygo_0.26.0_amd64.deb + - run: dpkg -i tinygo_0.26.0_amd64.deb + - run: make