diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..77446e2 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: natpass + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + + - name: Build Server + run: go build -v code/server/*.go + + - name: Build Client + run: go test -v code/client/*.go