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