Skip to content

chore(deps): Bump actions/setup-go from 2 to 4 (#393) #409

chore(deps): Bump actions/setup-go from 2 to 4 (#393)

chore(deps): Bump actions/setup-go from 2 to 4 (#393) #409

Workflow file for this run

name: unit-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unit-test:
if: github.repository_owner == 'keikoproj'
name: unit-test
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Build
run: |
make manager
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Test
run: |
make test
- name: Upload to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt