Skip to content

🌱 Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 #1627

🌱 Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0

🌱 Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 #1627

Workflow file for this run

# Copyright 2021 OpenSSF Scorecard Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: build
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
PROTOC_VERSION: 3.17.3
GO_VERSION: 1.23
jobs:
build-scorecard-webapp:
name: build-scorecard-webapp
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Clone the code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ env.GO_VERSION }}
- name: Run linter
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
args: --config=.golangci.yml
- name: Check license headers
run: |
go env -w GOFLAGS=-mod=mod
go install github.com/google/addlicense@2fe3ee94479d08be985a84861de4e6b06a1c7208
addlicense -ignore "app/server/testdata/**" -ignore "app/generated/**" -ignore "scorecards-site/**" -l apache -c 'OpenSSF Scorecard Authors' -v *
git diff --exit-code
- name: Run build
run: |
go env -w GOFLAGS=-mod=mod
make scorecard-webapp
- name: Tests
env:
GITHUB_AUTH_TOKEN: ${{ github.token }} # needed for the e2e tests
run: |
cd app/server && go test