github.com/seachicken/gh-poi@v0.9.10/.github/workflows/contract-test.yml (about)

     1  name: Contract Test
     2  
     3  on:
     4    schedule:
     5      - cron: '0 15 * * *'
     6  
     7  jobs:
     8  
     9    test:
    10      strategy:
    11        fail-fast: false
    12      runs-on: ubuntu-latest
    13  
    14      steps:
    15      - uses: actions/checkout@v4
    16  
    17      - run: sudo add-apt-repository ppa:git-core/ppa
    18      - run: sudo apt-get update
    19  
    20      - name: Set up Go
    21        uses: actions/setup-go@v5
    22        with:
    23          go-version-file: 'go.mod'
    24  
    25      - name: Test
    26        run: |
    27          sudo apt-get install git
    28          unzip conn/fixtures/repo_basic.zip -d conn/fixtures
    29          go test -v ./conn
    30