Skip to content

build(deps): bump golang.org/x/term from 0.25.0-0.26.0 in techdocs-rewrite-relative-links #328

build(deps): bump golang.org/x/term from 0.25.0-0.26.0 in techdocs-rewrite-relative-links

build(deps): bump golang.org/x/term from 0.25.0-0.26.0 in techdocs-rewrite-relative-links #328

name: Test techdocs-rewrite-relative-links action
on:
push:
branches:
- main
paths:
- "actions/techdocs-rewrite-relative-links/**"
- ".github/workflows/test-techdocs-rewrite-relative-links.yaml"
pull_request:
paths:
- "actions/techdocs-rewrite-relative-links/**"
- ".github/workflows/test-techdocs-rewrite-relative-links.yaml"
types:
- edited
- opened
- ready_for_review
- synchronize
merge_group:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
check-latest: true
go-version: "1.22.2"
cache-dependency-path: "actions/techdocs-rewrite-relative-links/go.sum"
- name: Test Go code
shell: bash
run: |
set -e
cd actions/techdocs-rewrite-relative-links
go test ./... -v