commit eba42f864d4e222385e31705c9b5d31bc8679232 parent 9a3c22f8e25ae7dd29c5c5869191ad8d5ca8d233 Author: parazyd <parazyd@users.noreply.github.com> Date: Sun, 7 Mar 2021 21:46:17 +0100 Create go.yml Diffstat:
A | .github/workflows/go.yml | | | 28 | ++++++++++++++++++++++++++++ |
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml @@ -0,0 +1,28 @@ +name: Go + +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.15 + + - name: Install Tor + run: sudo apt-get install tor + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...