Skip to content

feat: add additional methods to metadata #445

feat: add additional methods to metadata

feat: add additional methods to metadata #445

Workflow file for this run

---
name: Go test
on:
push:
paths-ignore:
- ".github/**"
- ".vscode/**"
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
merge_group:
types: [checks_requested]
permissions:
contents: read
id-token: write
jobs:
test:
environment: test
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
name: checkout
with:
persist-credentials: false
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
name: setup go
with:
go-version-file: "go.mod"
cache: true
- uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
name: Azure login
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
allow-no-subscriptions: true
- run: make test
name: make test
# Tests are run on Linux using make testcover
if: matrix.os != 'ubuntu-latest'
- run: make testrace
name: make testrace
if: matrix.os == 'ubuntu-latest'
- run: make testcover
name: make testcover
if: matrix.os == 'ubuntu-latest'
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
if: matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out