Skip to content

build(deps): bump google.golang.org/api from 0.241.0 to 0.242.0 in /pipelinerun-logs in the all group #21

build(deps): bump google.golang.org/api from 0.241.0 to 0.242.0 in /pipelinerun-logs in the all group

build(deps): bump google.golang.org/api from 0.241.0 to 0.242.0 in /pipelinerun-logs in the all group #21

Workflow file for this run

name: ci
on: [pull_request] # yamllint disable-line rule:truthy
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull-request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
contents: read
checks: write # Used to annotate code in the PR
jobs:
build:
name: build-lint-and-test
runs-on: ubuntu-latest
strategy:
matrix:
project:
- bots/buildcaptain
- bots/mariobot
- pipelinerun-logs
- tekton/ci/interceptors/add-team-members
- tekton/ci/interceptors/add-pr-body
- tekton/ci/interceptors/github
- tekton/ci/custom-tasks/pr-commenter
- tekton/ci/custom-tasks/pr-status-updater
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: "go.mod"
- name: build
working-directory: ${{ matrix.project }}
run: |
go build -v ./...
- name: gofmt
working-directory: ${{ matrix.project }}
run: |
gofmt_out=$(gofmt -d $(find * -name '*.go' ! -path 'vendor/*' ! -path 'third_party/*'))
if [[ -n "$gofmt_out" ]]; then
failed=1
fi
echo "$gofmt_out"
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.1.6
only-new-issues: true
args: --timeout=10m
working-directory: ${{ matrix.project }}
- name: yamllint
working-directory: ${{ matrix.project }}
run: |
sudo apt update && sudo apt install -y yamllint
yamllint -c $(git rev-parse --show-toplevel)/.yamllint $(find . -path ./vendor -prune -o -type f -regex ".*y[a]ml" -print | tr '\n' ' ')
- name: test
working-directory: ${{ matrix.project }}
run: |
go test -v ./...