Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Updated versions

Matt Robertsdb92fd800182
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 455b39044..edb5dd12c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,11 +16,12 @@ jobs:
name: test-ui
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Use Node.js 22.x
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
with:
node-version: 22.x
+ cache: 'npm'
- run: npm ci
- run: make lint-ui
- run: make test-ui
@@ -41,7 +42,7 @@ jobs:
MINIO_ACCESS_KEY: s3user
MINIO_SECRET_KEY: s3user-s3cr3t
postgres:
- image: postgres:12
+ image: postgres:17
env:
POSTGRES_USER: fider_ci
POSTGRES_PASSWORD: fider_ci_pw
@@ -51,15 +52,17 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Use Go 1.22
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v5
with:
- go-version: 1.22
+ go-version: '1.22'
+ cache: true
- name: Use Node.js 22.x
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
with:
node-version: 22.x
+ cache: 'npm'
- run: npm ci # required for esbuild
- name: install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1
@@ -79,11 +82,11 @@ jobs:
name: build
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: extract variables
run: |
- echo "##[set-output name=sha7;]$(echo ${GITHUB_SHA::7})"
+ echo "sha7=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
echo sha7=${GITHUB_SHA::7}
id: vars
@@ -114,7 +117,7 @@ jobs:
- "8025:8025"
- "1025:1025"
postgres:
- image: postgres:12
+ image: postgres:17
env:
POSTGRES_USER: fider_ci
POSTGRES_PASSWORD: fider_ci_pw
@@ -126,11 +129,12 @@ jobs:
matrix:
browser: ["chromium", "webkit", "firefox"]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Use Node.js 22.x
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
with:
node-version: 22.x
+ cache: 'npm'
- uses: actions/download-artifact@v4
with:
name: fider-image
@@ -171,7 +175,7 @@ jobs:
- "8025:8025"
- "1025:1025"
postgres:
- image: postgres:12
+ image: postgres:17
env:
POSTGRES_USER: fider_ci
POSTGRES_PASSWORD: fider_ci_pw
@@ -180,11 +184,12 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Use Node.js 22.x
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v4
with:
node-version: 22.x
+ cache: 'npm'
- uses: actions/download-artifact@v4
with:
name: fider-image
diff --git a/.github/workflows/locale.yml b/.github/workflows/locale.yml
index 43180bbb8..3a3e0889e 100644
--- a/.github/workflows/locale.yml
+++ b/.github/workflows/locale.yml
@@ -24,7 +24,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
+ cache: 'npm'
- name: Install deps
run: npm ci
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 53c2baa8a..e751b3ed0 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -17,25 +17,25 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha }}
- name: Set up QEMU
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: build and push docker image (pull_request)
if: ${{ github.event.workflow_run.event == 'pull_request' }}
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v6
with:
push: true
context: .
@@ -47,7 +47,7 @@ jobs:
- name: build and push docker image (push branch)
if: ${{ github.event.workflow_run.event == 'push' }}
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v6
with:
push: true
context: .
@@ -61,7 +61,7 @@ jobs:
- name: build and push docker image (push tag)
if: ${{ github.event.workflow_run.event == 'release' }}
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v6
with:
push: true
context: .