Skip to content

Commit

Permalink
Merge pull request #38 from thaJeztah/ci_windows
Browse files Browse the repository at this point in the history
gha: update actions, add macOS, and add Go1.20
  • Loading branch information
thaJeztah committed Apr 30, 2023
2 parents 1aeaba8 + 8f2ba97 commit 1c456eb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ jobs:
test:
strategy:
matrix:
go: ["1.18.x", "1.19.x"]
platform: [ubuntu-latest]
go: ["1.18.x", "1.19.x", "1.20.x"]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Checkout code
Expand All @@ -21,6 +21,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: go mod tidy
run: |
go mod tidy
git diff --exit-code
- name: Lint
run: |
docker run --rm -v `pwd`:/go/src/github.com/moby/term -w /go/src/github.com/moby/term \
Expand Down

0 comments on commit 1c456eb

Please sign in to comment.