Clean up GitHub Actions warnings
This commit is contained in:
@@ -8,6 +8,9 @@ on:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
@@ -20,7 +23,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: true
|
cache: false
|
||||||
|
|
||||||
- name: Format check
|
- name: Format check
|
||||||
run: test -z "$(gofmt -l .)"
|
run: test -z "$(gofmt -l .)"
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
@@ -22,7 +25,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: true
|
cache: false
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ COPY --chown=app:app webroot ./webroot
|
|||||||
|
|
||||||
ENV LISTEN_ADDR=0.0.0.0 \
|
ENV LISTEN_ADDR=0.0.0.0 \
|
||||||
LISTEN_PORT=8443 \
|
LISTEN_PORT=8443 \
|
||||||
CA_CERT_PATH=/app/ssl/ca_cert.pem \
|
|
||||||
CA_KEY_PATH=/app/ssl/ca_key.pem \
|
|
||||||
BLOCK_PAGE_PATH=/app/webroot/block.html \
|
BLOCK_PAGE_PATH=/app/webroot/block.html \
|
||||||
WEBROOT_DIR=/app/webroot
|
WEBROOT_DIR=/app/webroot
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user