Skip to content

Commit

Permalink
initial v2 commit
Browse files Browse the repository at this point in the history
Following instructions under https://go.dev/blog/v2-go-modules
  • Loading branch information
ericchiang committed Jul 8, 2024
1 parent 5a76b44 commit 43db064
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 11 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ on:
push:
branches:
- master
- v2
pull_request:
branches:
- master
- v2

jobs:
build:
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
go-version: [1.21.x, 1.22.x]
name: Linux
runs-on: ubuntu-latest
steps:
Expand All @@ -25,11 +27,11 @@ jobs:
- name: Install libpcsc
run: sudo apt-get install -y libpcsclite-dev pcscd pcsc-tools
- name: Test
run: "make test"
run: "go test -C v2 ./..."
build-windows:
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
go-version: [1.21.x, 1.22.x]
name: Windows
runs-on: windows-latest
steps:
Expand All @@ -41,6 +43,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test
run: "make build"
run: "go build -C v2 ./..."
env:
CGO_ENABLED: 0
7 changes: 0 additions & 7 deletions Makefile

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 43db064

Please sign in to comment.