From b744f1ba79c1474ec2bbf9ab17f773eca3e69771 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 6 Dec 2022 03:01:56 +0000 Subject: [PATCH] Add action to build. --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7e842f9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Go Build + +on: + push: + paths-ignore: + - "**.md" + branches: + - main + pull_request: + paths-ignore: + - "**.md" + +jobs: + build-docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + check-latest: true + cache: true + - name: Build app + run: go build -o app