Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Merge pull request #26 from koala7659/fix-cleanup-orphaned-rbacs #115

Merge pull request #26 from koala7659/fix-cleanup-orphaned-rbacs

Merge pull request #26 from koala7659/fix-cleanup-orphaned-rbacs #115

Workflow file for this run

name: Run unit tests
on:
push:
branches: [ "main","integrate" ]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
/home/runner/work/cp-mod-migrator/cp-mod-migrator/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up go environment
uses: actions/setup-go@v4
with:
go-version: 1.21.5
- name: Run unit tests
run: make test