Skip to content

Update meshkit version and meshmodel types #376

Update meshkit version and meshmodel types

Update meshkit version and meshmodel types #376

Workflow file for this run

name: CI
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
cache-dependency-path: go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Run golangci-lint
run: make lint
tidy:
name: tidy
needs: [ golangci ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
cache-dependency-path: go.sum
- name: tidy
run: make tidy
codecov:
name: codecov
needs: [ tidy ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
cache-dependency-path: go.sum
- name: test
run: make test
- name: Upload covergae to Codecov
if: github.repository == 'meshery/meshery-adapter-library'
uses: codecov/codecov-action@v3
with:
files: ./coverage.out
flags: unittests