Skip to content

Commit

Permalink
Adding Go 1.18 and dropping older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosroman committed Jun 28, 2022
1 parent 553de96 commit 7eec423
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# We use github actions to test the code on windows and linux amd64. Circleci is used for linux arm64.
#
version: 2.1
Expand All @@ -9,7 +10,7 @@ executors:
linux_arm64:
description: "arm64"
machine:
image: ubuntu-2004:202101-01
image: ubuntu-2004:2022.04.1
resource_class: arm.medium

commands:
Expand All @@ -18,7 +19,7 @@ commands:
version:
type: string
steps:
- os-detect/init # this setup the '$SUDO' variable
- os-detect/init # this setup the '$SUDO' variable
- run:
name: "install Golang linux"
command: |
Expand Down Expand Up @@ -72,4 +73,7 @@ workflows:
- tests_arm64:
matrix:
parameters:
go-version: ["1.13", "1.14", "1.15", "1.16", "1.17"]
go-version:
- "1.16"
- "1.17"
- "1.18"
21 changes: 15 additions & 6 deletions .github/workflows/datadog-go.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
# We use github actions to test the code on windows and linux amd64. Circleci is used for linux arm64.

---
# We use github actions to test the code on windows and linux amd64.
# Circleci is used for linux arm64.
#
name: datadog-go
on:
pull_request:
- push
- pull_request

jobs:
native:
strategy:
matrix:
go-version: [ 1.17, 1.16, 1.15, 1.14, 1.13]
runs-on: [ ubuntu-latest, windows-latest, macos-latest ]
fail-fast: false
go-version:
- 1.16
- 1.17
- 1.18
runs-on:
- ubuntu-latest
- windows-latest
- macos-latest
fail-fast: true
runs-on: ${{ matrix.runs-on }}
steps:
- name: Setup go
Expand Down

0 comments on commit 7eec423

Please sign in to comment.