Skip to content

Release 1.8.0

Release 1.8.0 #4734

Workflow file for this run

name: format native
on:
push:
branches: [ main ]
pull_request:
merge_group:
workflow_dispatch:
jobs:
check-native-format:
strategy:
fail-fast: false
matrix:
machine: [ windows-2022, ubuntu-20.04, macos-12 ]
runs-on: ${{ matrix.machine }}
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # tag: v4.2.0
- name: Install Clang tools
shell: bash
run: ./scripts/download-clang-tools.sh
- name: Format native code
shell: bash
run: ./scripts/format-native.sh
check-native-headers:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # tag: v4.2.0
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # tag: v5.0.2
with:
go-version: '1.20.1'
- name: Verify all native files have license headers
shell: bash
run: |
go install github.com/google/[email protected]
addlicense -v -y "" -l "apache" -c "The OpenTelemetry Authors" -s=only -ignore **/lib/** src/OpenTelemetry.AutoInstrumentation.Native/
git status
git diff
test -z "$(git status --porcelain)"