This commit is contained in:
@@ -23,6 +23,12 @@ jobs:
|
||||
with:
|
||||
go-version: "1.23" # adapte selon ta version
|
||||
|
||||
- name: Applying database migrations
|
||||
run: |
|
||||
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.19.0/migrate.linux-amd64.tar.gz -o migrate.tar.gz
|
||||
tar -xzf migrate.tar.gz
|
||||
migrate -path=./migrations -database=$GREENLIGHT_DB_DSN up
|
||||
|
||||
- name: Build API
|
||||
run: |
|
||||
go mod tidy
|
||||
|
||||
Reference in New Issue
Block a user