Skip to content

Commit

Permalink
Upgrade dependencies (#246)
Browse files Browse the repository at this point in the history
* Upgrade ui dependencies

* Upgrade GitHub workflows

* Upgrade Golang dependencies
  • Loading branch information
LucaBernstein authored Sep 7, 2024
1 parent 16e3f84 commit 9f298ac
Show file tree
Hide file tree
Showing 11 changed files with 196 additions and 176 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
channel: 'stable'
- name: Check out the code
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: flutter --version
- name: Restore packages
run: flutter pub get
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
go-version: ^1.23
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: |
Expand All @@ -57,9 +57,9 @@ jobs:
go test -count=1 -p 1 ./... -coverprofile coverage.${{ matrix.database }}.out -coverpkg=./...
done
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage-reports
name: coverage-report-${{ matrix.database }}
path: ./*.out
if-no-files-found: error

Expand All @@ -68,16 +68,20 @@ jobs:
needs: [test_unit_dbs]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
go-version: ^1.23
id: go

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage-reports
name: coverage-report-sqlite
path: ./
- uses: actions/download-artifact@v4
with:
name: coverage-report-postgres
path: ./

- name: Combine single reports
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
go-version: ^1.23
id: go
- name: Install dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion api/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ samples, guidance on mobile development, and a full API reference.
## Update dependencies

```bash
flutter pub upgrade
flutter upgrade

flutter pub upgrade --major-versions --tighten
```
Loading

0 comments on commit 9f298ac

Please sign in to comment.