From e03a8f0ebeb8fc3d5cf893d1635ff9e9cdaf7331 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Sat, 11 Dec 2021 17:36:52 +0100 Subject: [PATCH] Add Github workflow --- .github/workflows/go.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..d60fb1c --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,29 @@ +name: Go + +on: [ push, pull_request ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.16 + + - name: Build + run: | + go build . + GOOS=windows go build . + + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + local-log4j-vuln-scanner + local-log4j-vuln-scanner.exe + README.md + LICENSE