Skip to content

chore(deps): Update dependency cli to v5.21.2 (#18217) #1

chore(deps): Update dependency cli to v5.21.2 (#18217)

chore(deps): Update dependency cli to v5.21.2 (#18217) #1

Workflow file for this run

name: Source Plugin XKCD Workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- "plugins/source/xkcd/**"
- ".github/workflows/source_xkcd.yml"
push:
branches:
- main
paths:
- "plugins/source/xkcd/**"
- ".github/workflows/source_xkcd.yml"
jobs:
plugins-source-xkcd:
timeout-minutes: 30
name: "plugins/source/xkcd"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./plugins/source/xkcd
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: plugins/source/xkcd/go.mod
cache: true
cache-dependency-path: plugins/source/xkcd/go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
working-directory: plugins/source/xkcd
args: "--config ../../.golangci.yml"
skip-pkg-cache: true
skip-build-cache: true
- name: Setup CloudQuery
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
version: v5.21.2
- name: gen
if: github.event_name == 'pull_request'
run: make gen
- name: Fail if generation updated files
if: github.event_name == 'pull_request'
run: test "$(git status -s | wc -l)" -eq 0 || (git status -s; exit 1)
- name: Build
run: go build .
- name: Test
run: make test