use gomod #4
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: Build and test a PR | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Extract dependent PR | |
uses: depends-on/depends-on-action@go-mod | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run build and test | |
run: | | |
make test | |
... |