Skip to content

Commit

Permalink
Introduce with and without go modules testing
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Sep 11, 2023
1 parent 08317d1 commit 858f374
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go-mod.yml
Original file line number Diff line number Diff line change
@@ -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 ./...
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go
name: Go (No Modules)

on:
push:
Expand All @@ -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: |
Expand Down

0 comments on commit 858f374

Please sign in to comment.