Skip to content

refactor: add validations to new method #5

refactor: add validations to new method

refactor: add validations to new method #5

Workflow file for this run

name: build and test
on: push
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Run build script
run: go build
test:
name: Run tests
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Run test script
run: |
chmod +x ./scripts/test.sh && ./scripts/test.sh