diff --git a/.github/workflows/go-mod.yml b/.github/workflows/go-mod.yml new file mode 100644 index 0000000..635a88a --- /dev/null +++ b/.github/workflows/go-mod.yml @@ -0,0 +1,23 @@ +name: Go Modules + +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.18 + + - name: Test + run: | + cd v5 + go get ./... + go test -v ./... diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fed7216..aeeede6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -name: Go +name: Go (No Modules) on: push: @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.18 + go-version: 1.15 - name: Test run: |