Skip to content

feat: cron job to parse nippon mutual funds #22

feat: cron job to parse nippon mutual funds

feat: cron job to parse nippon mutual funds #22

Workflow file for this run

name: Build
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
name: Build Project
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23
- name: Run gofmt to check formatting
run: |
gofmt -l .
# If there are any unformatted files, the job fails
- name: Fail if files are unformatted
run: |
if [ -n "$(gofmt -l .)" ]; then
echo "Code is not formatted. Run 'gofmt' on your code.";
exit 1;
fi
- name: Build Project
run: go build ./...