Skip to content

feat: Upgrade to crossplane v.1.14 #25

feat: Upgrade to crossplane v.1.14

feat: Upgrade to crossplane v.1.14 #25

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request: {}
workflow_dispatch: {}
env:
# Common versions
GO_VERSION: '1.17'
GOLANGCI_VERSION: 'v1.45.2'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run linters
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_VERSION }}
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Install Go
# if: success()
# uses: actions/setup-go@v2
# with:
# go-version: ${{ env.GO_VERSION }}
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Run tests
# run: go test -v -covermode=count ./pkg/...
# coverage:
# runs-on: ubuntu-latest
# steps:
# - name: Install Go
# if: success()
# uses: actions/setup-go@v2
# with:
# go-version: ${{ GO_VERSION }}
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Calc coverage
# run: |
# go test -v -covermode=count -coverprofile=coverage.out
# - name: Convert coverage.out to coverage.lcov
# uses: jandelgado/[email protected]
# - name: Coveralls
# uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.github_token }}
# path-to-lcov: coverage.lcov