Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update dependencies version (#491)
boojack62f63d4af74b
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex d743f33dd..2e98b6910 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -17,8 +17,6 @@ on:pull_request:# The branches below must be a subset of the branches abovebranches: [main]- schedule:- - cron: "27 12 * * 0"jobs:analyze:diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 931ca6eca..ddc1d7fe9 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -9,32 +9,13 @@ on:branches: [main]jobs:- go-static-checks:- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v3- - uses: actions/setup-go@v3- with:- go-version: 1.18- check-latest: true- cache: true- - name: Verify go.mod is tidy- run: |- go mod tidy- git diff --exit-code- - name: golangci-lint- uses: golangci/golangci-lint-action@v3- with:- args: -v- skip-cache: true-eslint-checks:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v3- uses: actions/setup-node@v3with:- node-version: "16"+ node-version: "18"cache: yarncache-dependency-path: "web/yarn.lock"- run: yarn@@ -49,7 +30,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-node@v3with:- node-version: "16"+ node-version: "18"cache: yarncache-dependency-path: "web/yarn.lock"- run: yarn@@ -64,7 +45,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-node@v3with:- node-version: "16"+ node-version: "18"cache: yarncache-dependency-path: "web/yarn.lock"- run: yarn@@ -73,13 +54,32 @@ jobs:run: yarn buildworking-directory: web+ go-static-checks:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v3+ - uses: actions/setup-go@v3+ with:+ go-version: 1.19+ check-latest: true+ cache: true+ - name: Verify go.mod is tidy+ run: |+ go mod tidy+ git diff --exit-code+ - name: golangci-lint+ uses: golangci/golangci-lint-action@v3+ with:+ args: -v+ skip-cache: true+go-tests:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v3- uses: actions/setup-go@v3with:- go-version: 1.18+ go-version: 1.19check-latest: truecache: true- name: Run all testsdiff --git a/Dockerfile b/Dockerfileindex e902a67bf..2685444c3 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,5 +1,5 @@# Build frontend dist.-FROM node:16.15.0-alpine AS frontend+FROM node:18.12.1-alpine3.16 AS frontendWORKDIR /frontend-buildCOPY ./web/ .@@ -8,7 +8,7 @@ RUN yarnRUN yarn build# Build backend exec file.-FROM golang:1.18.3-alpine3.16 AS backend+FROM golang:1.19.3-alpine3.16 AS backendWORKDIR /backend-buildRUN apk update@@ -20,7 +20,7 @@ COPY --from=frontend /frontend-build/dist ./server/distRUN go build -o memos ./bin/server/main.go# Make workspace with above generated files.-FROM alpine:3.16.0 AS monolithic+FROM alpine:3.16 AS monolithicWORKDIR /usr/local/memosCOPY --from=backend /backend-build/memos /usr/local/memos/