mirror of
https://github.com/ossf/scorecard.git
synced 2024-10-06 05:37:42 +03:00
cab29a2747
Use cloud buckets for httpcache. The implementation uses https://github.com/google/go-cloud for it to be cloud vendor agnostic.
21 lines
693 B
YAML
21 lines
693 B
YAML
name: build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
validate:
|
|
name: Validate
|
|
runs-on: ubuntu-latest
|
|
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
|
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
steps:
|
|
- name: Clone the code
|
|
uses: actions/checkout@v2
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.15'
|
|
- name: Run presubmit tests
|
|
run: make all
|
|
- uses: codecov/codecov-action@v1
|
|
with:
|
|
files: e2e/e2e.coverprofile,pkg/pkg.coverprofile,checks/checks.coverprofile
|