Skip to content

Build with Go 1.23 #219

Build with Go 1.23

Build with Go 1.23 #219

Workflow file for this run

name: Go
on:
pull_request:
push:
branches: [master]
permissions:
contents: write
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: golangci/[email protected]
with:
version: v1.53
- name: Test
run: go test -v ./...
env:
PATCH2PR_TEST_REPO: ${{ github.repository }}
PATCH2PR_TEST_GITHUB_TOKEN: ${{
(github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'))
&& secrets.GITHUB_TOKEN
|| ''
}}