Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

improve Coerce to cast all columns with '*' [nt] #470

improve Coerce to cast all columns with '*' [nt]

improve Coerce to cast all columns with '*' [nt] #470

Workflow file for this run

name: Test
on:
push:
branches:
- '*'
tags-ignore:
- '*'
jobs:
test:
if: "! (contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[no test]') || contains(github.event.head_commit.message, '[nt]'))"
runs-on: [self-hosted, linux]
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Dump context
env:
JOB_CONTEXT: ${{ toJson(job) }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: |
echo "JOB_CONTEXT -> $JOB_CONTEXT"
echo "MATRIX_CONTEXT -> $MATRIX_CONTEXT"
echo "RUNNER_CONTEXT -> $RUNNER_CONTEXT"
- name: Set up GoLang
uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Configure Environment
uses: flarco/envkey-action@main
with:
envkey: ${{ secrets.ENVKEY }}
dotenv_sh: true
- name: Test
run: |
sed -i "s/DEBUG='TRUE'/DEBUG=''/g" .env.sh
docker run --rm -v /__/docker-data/devbox/root/go:/root/go -v /__:/__ -v /tmp:/tmp -v $PWD:/work --workdir /work flarco/devbox:base bash -c "source .env.sh && go mod edit -dropreplace='github.com/flarco/g' go.mod && go mod tidy && bash scripts/test.sh"