Skip to content

feat: upgraded the API for querying ECS details (#120) #301

feat: upgraded the API for querying ECS details (#120)

feat: upgraded the API for querying ECS details (#120) #301

Workflow file for this run

name: CI Workflow
on:
# Run this workflow every time a new commit pushed to upstream/fork repository.
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR.
push:
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v3
- name: Check vendors
run: hack/verify-vendor.sh
- name: Check gofmt
run: hack/verify-gofmt.sh
- name: Check static code
run: hack/verify-staticcheck.sh
build:
name: compile
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: compile
run: make build
test:
name: unit test
needs: build
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: make test
run: make test