Skip to content

dependabot[bot] is linting fabric-samples πŸŽ‰ #646

dependabot[bot] is linting fabric-samples πŸŽ‰

dependabot[bot] is linting fabric-samples πŸŽ‰ #646

Workflow file for this run

#
# SPDX-License-Identifier: Apache-2.0
#
name: Lint πŸŽ‰
run-name: ${{ github.actor }} is linting fabric-samples πŸŽ‰
on:
workflow_dispatch:
push:
branches: [ "main", "release-2.5" ]
pull_request:
branches: [ "main", "release-2.5" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
GO_VER: '1.20'
NODE_VER: 18.x
JAVA_VER: 11.x
jobs:
go:
runs-on: fabric-ubuntu-20.04
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VER }}
- uses: actions/checkout@v4
- run: go install golang.org/x/tools/cmd/goimports@latest
- run: ci/scripts/lint-go.sh
typescript:
runs-on: fabric-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
- run: ci/scripts/lint-typescript.sh
javascript:
runs-on: fabric-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
- run: ci/scripts/lint-javascript.sh
java:
runs-on: fabric-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ env.JAVA_VER }}
- run: ci/scripts/lint-java.sh
shell:
runs-on: fabric-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: ci/scripts/lint-shell.sh