Skip to content

Merge pull request #804 from enterprise-contract/dependabot/go_module… #7

Merge pull request #804 from enterprise-contract/dependabot/go_module…

Merge pull request #804 from enterprise-contract/dependabot/go_module… #7

Workflow file for this run

---
name: pre-merge-ci
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
all-tests-and-checks:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
disable-telemetry: true
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Go environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
cache: true
- name: Run checks
run: make ci
# See https://issues.redhat.com/browse/HACBS-2391 to re-enable these checks
# - name: Validate added bundles
# run: ./hack/validate-acceptable-bundles.sh
- name: Upload test coverage report
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
if: always()