go mod tidy #13
Workflow file for this run
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: PR Checks | |
run-name: '${{github.event.pull_request.title}}' | |
'on': | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Display Go version | |
run: go version | |
- name: Download modules to local cache | |
working-directory: components/kcp | |
run: go mod tidy | |
- name: Download modules to local cache | |
working-directory: components/kcp | |
run: go mod download | |
- name: Build application | |
working-directory: components/kcp | |
run: make build | |
- name: Check modified files | |
run: git diff --exit-code |