Skip to content

Upgrade docker to 25.0.6 & remove binary #45

Upgrade docker to 25.0.6 & remove binary

Upgrade docker to 25.0.6 & remove binary #45

Workflow file for this run

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
# the License. A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
# and limitations under the License.
name: Timestream Prometheus Connector CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
name: Build and Test
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@v4
with:
go-version: 'stable'
cache: false
env:
GO111MODULE: on
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build
run: go build -v .
- name: Test
run: go test -race -v . ./timestream
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
cache: false
env:
GO111MODULE: on
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
args: --exclude ".Log(.*)|format.Set|level.Set" --timeout=2m