Skip to content

Update Go dependencies #155

Update Go dependencies

Update Go dependencies #155

name: Integration Tests
on:
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: macos-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: '1.19.3'
cache: true
- run: go build -o ipatool
env:
CGO_CFLAGS: -mmacosx-version-min=10.15
CGO_LDFLAGS: -mmacosx-version-min=10.15
- uses: actions/upload-artifact@v2
with:
name: ipatool
path: ipatool
if-no-files-found: error
test:
name: Test
runs-on: macos-latest
needs: [build]
strategy:
fail-fast: false
matrix:
command: [auth, download, purchase, search]
steps:
- uses: actions/download-artifact@v2
with:
name: ipatool
path: build
- run: chmod +x ./build/ipatool
- run: ./build/ipatool ${{ matrix.command }} --help