diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-05-13 11:19:56 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-05-13 11:19:56 +0000 |
commit | 7069f28ccd9f9f85eccac0c4b34b77f3d53df65f (patch) | |
tree | d1ba93098ce3ac093e071830f223342140638d97 /.github/workflows | |
parent | added a gtihub action for pushing to dockerhub (diff) | |
download | milla-7069f28ccd9f9f85eccac0c4b34b77f3d53df65f.tar.gz milla-7069f28ccd9f9f85eccac0c4b34b77f3d53df65f.zip |
added a github action for building the go package
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/go_build.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/go_build.yaml b/.github/workflows/go_build.yaml new file mode 100644 index 0000000..6f1f8ca --- /dev/null +++ b/.github/workflows/go_build.yaml @@ -0,0 +1,17 @@ +name: Go +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +jobs: + build: + runs-on: alpine-3.19 + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.21' + - name: Build + run: go build -v ./... |