automation: disabling Detect changes to the API Definitions
when importer-rest-api-specs
changes
#1891
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Importer from Rest API Specs (Unit Tests) | |
on: | |
pull_request: | |
types: ['opened', 'synchronize'] | |
paths: | |
- '.github/workflows/**' | |
- 'config/**' | |
- 'submodules/rest-api-specs' | |
- 'tools/importer-rest-api-specs/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
submodules: recursive | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: '1.21.3' | |
- name: run unit tests | |
run: | | |
cd ./tools/importer-rest-api-specs | |
make test |