update examples go mod #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go test trzsz-go | |
on: [push] | |
jobs: | |
go-test-on-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout trzsz-go | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: go test | |
run: go test -v -count=1 ./trzsz | |
go-test-on-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout trzsz-go | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: go test | |
run: go test -v -count=1 ./trzsz | |
go-test-on-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout trzsz-go | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: go test | |
run: go test -v -count=1 ./trzsz |