Bump mongo from 33d17eb
to c7ac28e
in /test/IntegrationTests/dock…
#5663
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-13 ] | |
runs-on: ${{ matrix.machine }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag: v4.2.2 | |
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 # tag: v4.2.2 | |
- name: Setup Go | |
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # tag: v5.3.0 | |
with: | |
go-version: '1.23.5' | |
- 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)" |