api: update the generator with tarantool 3.2.0 #75
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: testing | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
tests: | |
# We want to run on external PRs, but not on our own internal | |
# PRs as they'll be run by the push to the branch. | |
# | |
# The main trick is described here: | |
# https://github.com/Dart-Code/Dart-Code/pull/2375 | |
# | |
# Also we want to run it always for manually triggered workflows. | |
if: (github.event_name == 'push') || | |
(github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name != github.repository) || | |
(github.event_name == 'workflow_dispatch') | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
golang: | |
- '1.13' | |
- '1.20' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup golang ${{ matrix.golang }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.golang }} | |
- run: make test | |
build-target-tag: | |
if: (github.event_name == 'push') || | |
(github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name != github.repository) || | |
(github.event_name == 'workflow_dispatch') | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
- run: make deps | |
- run: TT_TAG=master make | |
golangci-lint: | |
if: (github.event_name == 'push') || | |
(github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name != github.repository) || | |
(github.event_name == 'workflow_dispatch') | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
continue-on-error: true | |
with: | |
# The first run is for GitHub Actions error format. | |
args: -E goimports | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
# The second run is for human-readable error format with a file name | |
# and a line number. | |
args: --out-${NO_FUTURE}format colored-line-number -E goimports |