Skip to content

chore: Configure Renovate #68

chore: Configure Renovate

chore: Configure Renovate #68

name: Run Script Tests
defaults:
run:
shell: bash
on:
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
name: Run Script Tests
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: '>=1.17.0'
- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
scripts/*.go
- name: Connectors validation
run: |
ids=(${{ steps.changed-files.outputs.all_changed_files }});
if [ ${#ids[@]} -eq 0 ]; then
echo "No changes in scripts"
else
cd ${{ github.workspace }}/scripts/
go test
fi