Skip to content

feat: add main branch tagging from release #732

feat: add main branch tagging from release

feat: add main branch tagging from release #732

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
actions: "read"
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ^1.21
- name: Configure git for private modules
env:
GIT_AUTH_TOKEN: ${{ secrets.BOT_REPO_TOKEN }}
run: git config --global url."https://speakeasybot:${GIT_AUTH_TOKEN}@github.com".insteadOf "https://github.com"
- name: Check out code
uses: actions/checkout@v3
- name: Test
run: go test -v ./...