build(deps): bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 D2iQ, Inc. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install asdf | |
uses: asdf-vm/actions/setup@master | |
- name: Run unit tests | |
run: make test | |
- name: Annotate tests | |
if: always() | |
uses: guyarb/[email protected] | |
with: | |
test-results: test.json | |
e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install asdf | |
uses: asdf-vm/actions/setup@master | |
- name: Run e2e tests | |
run: make e2e-test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Output required tool versions | |
id: tool-versions | |
run: | | |
echo "::set-output name=go::$(grep -E '^golang ' .tool-versions | cut -d' ' -f2 | sed -e 's/^\([0-9]\+\.[0-9]\+\)$/\1.0/')" | |
echo "::set-output name=golangci-lint::v$(grep -E '^golangci-lint ' .tool-versions | cut -d' ' -f2)" | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ steps.tool-versions.outputs.go }} | |
check-latest: false | |
cache: true | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: ${{ steps.tool-versions.outputs.golangci-lint }} | |
only-new-issues: ${{ github.event_name == 'pull_request' }} | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install asdf | |
uses: asdf-vm/actions/setup@master | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files --show-diff-on-failure | |
env: | |
SKIP: no-commit-to-branch,golangci-lint |