Skip to content

chore(main): Release plugins-transformer-basic v2.6.20 #1014

chore(main): Release plugins-transformer-basic v2.6.20

chore(main): Release plugins-transformer-basic v2.6.20 #1014

Workflow file for this run

name: Transformer Plugin Basic Workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- "plugins/transformer/basic/**"
- ".github/workflows/transf_basic.yml"
push:
branches:
- main
paths:
- "plugins/transformer/basic/**"
- ".github/workflows/transf_basic.yml"
permissions:
contents: read
jobs:
plugins-transformer-basic:
timeout-minutes: 30
name: "plugins/transformer/basic"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./plugins/transformer/basic
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 2
- name: Set up Go 1.x
id: setup-go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: plugins/transformer/basic/go.mod
cache: false
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ steps.setup-go.outputs.go-version }}-test-transformer-basic-${{ hashFiles('plugins/transformer/basic/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ steps.setup-go.outputs.go-version }}-test-transformer-basic-
- name: golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9
with:
version: v2.11.4
working-directory: plugins/transformer/basic
args: "--config ../../.golangci.yml"
- name: Build
run: go build .
- name: Test
run: make test