Skip to content

Commit

Permalink
feature add to get holidays #2 mod actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kynmh69 committed Mar 10, 2024
1 parent 78df5c9 commit db7e4e2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,12 @@ jobs:
cache-dependency-path: |
src/go.sum
- name: setup bash_profile
run: |
echo 'export GOPATH="$HOME/go"' >>~/.bash_profile
echo 'export PATH="$GOPATH/bin:$PATH"' >>~/.bash_profile
source ~/.bash_profile
- name: run migration
working-directory: ${{ env.UPDATER_DIR }}
shell: bash -l {0}
run: |
go get -u github.com/pressly/goose/cmd/goose
goose --dir database/migrations/ postgres "host=localhost user=app password=password dbname=unittest sslmode=disable" up
$HOME/go/bin/goose --dir database/migrations/ postgres "host=localhost user=app password=password dbname=unittest sslmode=disable" up
- name: Build
working-directory: ${{ env.UPDATER_DIR }}
Expand Down

0 comments on commit db7e4e2

Please sign in to comment.