prepare v0.13.0 release #165
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: "prechecks" | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.merge_commit_sha }} | |
- name: Setup golang environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: Install dependencies | |
run: go mod tidy | |
- name: Run go test | |
run: make test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.merge_commit_sha }} | |
- name: Setup golang environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: Install dependencies | |
run: go mod tidy | |
- name: Make sure app can build | |
run: make build |