mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-18 02:40:33 +02:00
Install docker on macos github action so the datadog integration works
This commit is contained in:
12
.github/workflows/go-test.yml
vendored
12
.github/workflows/go-test.yml
vendored
@@ -21,10 +21,6 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
- name: Set up Datadog
|
|
||||||
uses: datadog/agent-github-action@v1.3
|
|
||||||
with:
|
|
||||||
api_key: ${{ secrets.DD_API_KEY }}
|
|
||||||
- name: Linux Setup
|
- name: Linux Setup
|
||||||
if: ${{ !startsWith(github.event.head_commit.message, 'Release') && matrix.os == 'ubuntu-latest'}}
|
if: ${{ !startsWith(github.event.head_commit.message, 'Release') && matrix.os == 'ubuntu-latest'}}
|
||||||
run: |
|
run: |
|
||||||
@@ -47,6 +43,14 @@ jobs:
|
|||||||
|
|
||||||
# Set a consistent hostname so we can run tests that depend on it
|
# Set a consistent hostname so we can run tests that depend on it
|
||||||
sudo scutil --set HostName ghaction-runner-hostname
|
sudo scutil --set HostName ghaction-runner-hostname
|
||||||
|
|
||||||
|
# Install docker so it can be used for datadog
|
||||||
|
brew install docker
|
||||||
|
colima start
|
||||||
|
- name: Set up Datadog
|
||||||
|
uses: datadog/agent-github-action@v1.3
|
||||||
|
with:
|
||||||
|
api_key: ${{ secrets.DD_API_KEY }}
|
||||||
- name: Go test
|
- name: Go test
|
||||||
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user