feat(migrate): add Pending
function for pending migrations
#205
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
SCYLLA_IMAGE: scylladb/scylla:6.0.0 | |
GOBIN: ./bin | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Install Go 1.17 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
- name: Cache Dependencies | |
uses: actions/cache@v3 | |
id: gomod-cache | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('go.mod') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Make Directory for GOBIN | |
run: mkdir -p "${GOBIN}" | |
- name: Download Dependencies | |
run: git --version && make get-deps && make get-tools | |
- name: Lint | |
run: make check | |
- name: Run Scylla Container | |
run: make run-scylla | |
- name: Test | |
run: make test |