Merge pull request #51 from xataio/refactor-input-file #66
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: Pull Request | |
on: [push] | |
jobs: | |
build: | |
runs-on: [self-hosted, default] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Lint | |
run: make lint | |
- name: License check | |
run: | | |
curl -s https://raw.githubusercontent.com/lluissm/license-header-checker/master/install.sh | bash | |
./bin/license-header-checker -a -r .github/license-header.txt . go && [[ -z `git status -s` ]] | |
- name: Unit tests | |
run: make test | |
env: | |
XATA_API_KEY: ${{ secrets.XATA_API_KEY }} | |
- name: Integration tests | |
run: make integration-test | |
env: | |
XATA_API_KEY: ${{ secrets.XATA_API_KEY }} | |
- name: Cleanup | |
run: make clean-workspaces | |
env: | |
XATA_API_KEY: ${{ secrets.XATA_API_KEY }} |