go.mod: update all dependencies #183
This file contains hidden or 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
| on: [push, pull_request] | |
| name: Test | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go-version: [1.22.x] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: './src/github.com/kevinburke/twilio-go' | |
| # staticcheck needs this for GOPATH | |
| - run: | | |
| echo "GOPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
| echo "PATH=$GITHUB_WORKSPACE/bin:$PATH" >> $GITHUB_ENV | |
| - name: Download dependencies | |
| run: go get -t -v ./... | |
| working-directory: './src/github.com/kevinburke/twilio-go' | |
| - name: Run tests | |
| run: make ci | |
| working-directory: './src/github.com/kevinburke/twilio-go' |