Skip to content

Merge pull request #32 from orange-cloudfoundry/dependabot/github_act… #78

Merge pull request #32 from orange-cloudfoundry/dependabot/github_act…

Merge pull request #32 from orange-cloudfoundry/dependabot/github_act… #78

Workflow file for this run

name: unit-tests
on:
pull_request: ~
push: ~
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: set up go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: cache go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: tests
run: |
go test -v ./...