Contract Test #1026
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: Contract Test | |
on: | |
schedule: | |
- cron: '0 15 * * *' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo add-apt-repository ppa:git-core/ppa | |
- run: sudo apt-get update | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Test | |
run: | | |
sudo apt-get install git | |
unzip conn/fixtures/repo_basic.zip -d conn/fixtures | |
go test -v ./conn | |