From df07d1414828548ae6d49b089461cdc8d2cfa590 Mon Sep 17 00:00:00 2001 From: nekottyo Date: Thu, 7 Dec 2023 16:14:11 +0900 Subject: [PATCH 1/3] feat: update packages --- go.mod | 8 +++++--- go.sum | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 00e07ee6..e1cc4ad8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/nekottyo/alfred-datadog-workflow -go 1.19 +go 1.21 + +toolchain go1.21.4 require ( github.com/deanishe/awgo v0.29.1 @@ -11,8 +13,8 @@ require ( require ( github.com/cenkalti/backoff v2.2.1+incompatible // indirect - github.com/magefile/mage v1.13.0 // indirect + github.com/magefile/mage v1.15.0 // indirect github.com/zorkian/go-datadog-api v2.28.0+incompatible // indirect go.deanishe.net/env v0.5.1 // indirect - golang.org/x/text v0.3.8 // indirect + golang.org/x/text v0.14.0 // indirect ) diff --git a/go.sum b/go.sum index 8912f63c..740a78b5 100644 --- a/go.sum +++ b/go.sum @@ -15,8 +15,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/magefile/mage v1.10.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magefile/mage v1.11.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= -github.com/magefile/mage v1.13.0 h1:XtLJl8bcCM7EFoO8FyH8XK3t7G5hQAeK+i4tq+veT9M= -github.com/magefile/mage v1.13.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= +github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg= +github.com/magefile/mage v1.15.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -34,8 +34,8 @@ go.deanishe.net/fuzzy v1.0.0 h1:3Qp6PCX0DLb9z03b5OHwAGsbRSkgJpSLncsiDdXDt4Y= go.deanishe.net/fuzzy v1.0.0/go.mod h1:2yEEMfG7jWgT1s5EO0TteVWmx2MXFBRMr5cMm84bQNY= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 66f3691d3ec7b63be6eeb5687df427a818c74b8a Mon Sep 17 00:00:00 2001 From: nekottyo Date: Thu, 7 Dec 2023 16:17:22 +0900 Subject: [PATCH 2/3] feat: update lists --- config/service.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/config/service.yaml b/config/service.yaml index 5ec1d26a..4db6ca21 100644 --- a/config/service.yaml +++ b/config/service.yaml @@ -1,7 +1,7 @@ - url: https://app.datadoghq.com/watchdog title: Watchdog -- url: https://app.datadoghq.com/event/stream - title: Events +- url: https://app.datadoghq.com/event/explorer + title: Eventt Explorers - url: https://app.datadoghq.com/dashboard title: Dashboards - url: https://app.datadoghq.com/infrastructure @@ -26,8 +26,8 @@ title: Integration - url: https://app.datadoghq.com/account/settings#api title: Integration api -- url: https://app.datadoghq.com/apm/services - title: APM +- url: https://app.datadoghq.com/services + title: Service Catalog - url: https://app.datadoghq.com/notebook/list title: Notebooks - url: https://app.datadoghq.com/logs @@ -38,3 +38,9 @@ title: RUM Application - url: https://app.datadoghq.com/account/usage title: Plan & Usage +- url: https://app.datadoghq.com/slo/manage + title: SLO +- url: https://app.datadoghq.com/infrastructure/catalog + title: Resource Catalog +- url: https://app.datadoghq.com/cost/overview + title: Cloud Costs From 49d73d310472ced31656b643d3465cd7f7c0da38 Mon Sep 17 00:00:00 2001 From: nekottyo Date: Thu, 7 Dec 2023 16:19:02 +0900 Subject: [PATCH 3/3] feat: use 1.21 --- .github/workflows/go.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c159be62..9a0f358c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,14 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.17 - uses: actions/setup-go@v1 + - name: Set up Go + uses: actions/setup-go@v4 with: - go-version: 1.17 + go-version: 1.21 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/cache@v2 with: @@ -29,13 +28,5 @@ jobs: restore-keys: | ${{ runner.os }}-go- - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - name: Build run: go build -v .