Skip to content

Commit

Permalink
add 'inv install-tools' to otel collector github action (#32067)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgopack4 authored Dec 11, 2024
1 parent aee886d commit 7cddbb8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/collector-generate-and-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: Read tool versions
id: tool-versions
run: |
echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.12
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '1.22.8'
go-version: ${{ env.GO_VERSION }}

- name: Install Dependencies
run: |
Expand All @@ -34,6 +40,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
inv -e install-tools
inv -e collector.update
inv -e collector.generate
inv -e generate-licenses
Expand Down

0 comments on commit 7cddbb8

Please sign in to comment.