Skip to content

ci: update core VM images index #389

ci: update core VM images index

ci: update core VM images index #389

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Unit tests
run: |
go test -v -covermode=atomic -coverprofile=../coverage.out ./...
working-directory: go-index
- name: Upload coverage to Codecov
if: ${{ github.event_name != 'pull_request' }}
uses: codecov/[email protected]
with:
file: ./coverage.out
flags: ${{ runner.os }}
token: ${{ secrets.CODECOV_TOKEN }}