Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix actions version to latest root version #2521

Merged
merged 1 commit into from
Jul 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/auto-build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
auto_build_rpm:
name: auto build rpm package
name: Auto Build RPM package
runs-on: ubuntu-latest

services:
Expand All @@ -29,9 +29,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-apisixdashboard-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend-cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: cache etcd
id: cache-etcd
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/api/etcd-v${{ matrix.etcd }}-linux-amd64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/backend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- name: setup go
uses: actions/setup-go@v3
with:
go-version: "1.17"
go-version: "1.18"

- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-apisixdashboard-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backend-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: setup go
uses: actions/setup-go@v3
with:
go-version: "1.15"
go-version: "1.18"

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -69,4 +69,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
4 changes: 2 additions & 2 deletions .github/workflows/deploy-with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
with:
submodules: recursive

- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-apisixdashboard-${{ github.sha }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
cache: 'yarn'
cache-dependency-path: web/yarn.lock

- name: Setup golang environment
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: '1.18'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -69,7 +69,7 @@ jobs:
nohup go run ./main.go &

- name: Cache Cypress binary
uses: actions/cache@v2.1.6
uses: actions/cache@v3
id: cypress-binary-cache
with:
path: '*/cypress/cache'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-plugin-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
cache: 'yarn'
cache-dependency-path: web/yarn.lock

- name: Setup golang environment
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: '1.18'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -71,7 +71,7 @@ jobs:
nohup go run ./main.go &

- name: Cache Cypress binary
uses: actions/cache@v2.1.6
uses: actions/cache@v3
id: cypress-binary-cache
with:
path: '*/cypress/cache'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: api
Expand All @@ -33,9 +33,9 @@ jobs:
- name: setup go
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: '1.18'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: 🚀 Use Node.js
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.x'
- run: npm install -g [email protected]
- run: markdownlint '**/*.md' --ignore node_modules
misspell:
Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3.1.1
- uses: actions/setup-python@v4
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/make-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
cache: 'yarn'
cache-dependency-path: web/yarn.lock

- name: Setup golang environment
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: '1.18'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
go-version: '1.15'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-frontend-multiple-node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down