Skip to content

Merge pull request #26 from cert-manager/dependabot/github_actions/go… #89

Merge pull request #26 from cert-manager/dependabot/github_actions/go…

Merge pull request #26 from cert-manager/dependabot/github_actions/go… #89

Workflow file for this run

# Run unit-tests
#
# These actions are skipped for draft PRs.
# See https://github.saobby.my.eu.orgmunity/t/dont-run-actions-on-draft-pull-requests/16817/19
name: test-unit
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
test-unit:
permissions:
contents: write
id-token: write
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true
- uses: actions/cache@v3
with:
path: _bin/downloaded
key: downloaded-${{ runner.os }}-${{ hashFiles('make/tools.mk') }}-${{ hashFiles('make/image-preload.mk') }}
- run: make -j tools images test