-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into config-read-on-view
Showing
241 changed files
with
7,281 additions
and
1,828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Miniflux", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
"remoteUser": "vscode", | ||
"forwardPorts": [ | ||
8080 | ||
], | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"go.toolsManagement.checkForUpdates": "local", | ||
"go.useLanguageServer": true, | ||
"go.gopath": "/go" | ||
}, | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"golang.go" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: '3.8' | ||
services: | ||
app: | ||
image: mcr.microsoft.com/devcontainers/go | ||
volumes: | ||
- ..:/workspace:cached | ||
command: sleep infinity | ||
network_mode: service:db | ||
environment: | ||
- CREATE_ADMIN=1 | ||
- ADMIN_USERNAME=admin | ||
- ADMIN_PASSWORD=test123 | ||
db: | ||
image: postgres:15 | ||
restart: unless-stopped | ||
volumes: | ||
- postgres-data:/var/lib/postgresql/data | ||
hostname: postgres | ||
environment: | ||
POSTGRES_DB: miniflux2 | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
ports: | ||
- 5432:5432 | ||
volumes: | ||
postgres-data: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
paths-ignore: | ||
- ./http/client/testdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,14 @@ permissions: read-all | |
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
jshint: | ||
name: Javascript Linter | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Install jshint | ||
run: | | ||
sudo npm install -g [email protected] | ||
|
@@ -22,11 +22,10 @@ jobs: | |
name: Golang Linter | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.16 | ||
- uses: golangci/golangci-lint-action@v2 | ||
go-version: "1.20" | ||
- uses: golangci/golangci-lint-action@v3 | ||
with: | ||
args: --skip-dirs tests --disable errcheck --enable sqlclosecheck --enable misspell --enable gofmt --enable goimports --enable whitespace | ||
skip-go-installation: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Debian and RPM Package Builders | ||
permissions: read-all | ||
on: | ||
push: | ||
tags: | ||
- '*.*.*' | ||
jobs: | ||
debian-package-builder: | ||
name: Build Debian Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
id: buildx | ||
with: | ||
install: true | ||
- name: Available Docker Platforms | ||
run: echo ${{ steps.buildx.outputs.platforms }} | ||
- name: Build Debian Packages | ||
run: make debian-packages | ||
- name: List generated files | ||
run: ls -l *.deb | ||
- name: Upload packages to repository | ||
env: | ||
FURY_TOKEN: ${{ secrets.FURY_TOKEN }} | ||
run: for f in *.deb; do curl -F package=@$f https://[email protected]/miniflux/; done | ||
rpm-package-builder: | ||
name: Build RPM Package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Build RPM Package | ||
run: make rpm | ||
- name: List generated files | ||
run: ls -l *.rpm | ||
- name: Upload package to repository | ||
env: | ||
FURY_TOKEN: ${{ secrets.FURY_TOKEN }} | ||
run: for f in *.rpm; do curl -F package=@$f https://[email protected]/miniflux/; done |
Oops, something went wrong.