Skip to content

Merge pull request #1212 from cloudevents/dependabot/github_actions/g… #1954

Merge pull request #1212 from cloudevents/dependabot/github_actions/g…

Merge pull request #1212 from cloudevents/dependabot/github_actions/g… #1954

Workflow file for this run

name: Unit Test
on:
push:
branches: [ 'main', 'release-*' ]
pull_request:
branches: [ 'main', 'release-*' ]
permissions:
contents: read
jobs:
test:
name: Unit Test
strategy:
matrix:
go-version: [1.24]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: v2/go.sum
id: go
- name: Test
run: ./hack/unit-test.sh