This commit is contained in:
@@ -23,6 +23,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: "1.23" # adapte selon ta version
|
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
|
- name: Build API
|
||||||
run: |
|
run: |
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
|||||||
Reference in New Issue
Block a user