mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
Bump actions/checkout from 2 to 3 (#71)
This commit is contained in:
parent
62493411b4
commit
b7f82e4635
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
name: Docker Hub Description
|
name: Docker Hub Description
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: peter-evans/dockerhub-description@v2 # Action page: <https://github.com/peter-evans/dockerhub-description>
|
- uses: peter-evans/dockerhub-description@v2 # Action page: <https://github.com/peter-evans/dockerhub-description>
|
||||||
with:
|
with:
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with: {go-version: 1.17.6}
|
with: {go-version: 1.17.6}
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: gacts/github-slug@v1
|
- uses: gacts/github-slug@v1
|
||||||
id: slug
|
id: slug
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
name: Build docker image
|
name: Build docker image
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: gacts/github-slug@v1
|
- uses: gacts/github-slug@v1
|
||||||
id: slug
|
id: slug
|
||||||
|
18
.github/workflows/tests.yml
vendored
18
.github/workflows/tests.yml
vendored
@ -13,7 +13,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
name: Gitleaks
|
name: Gitleaks
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with: {fetch-depth: 0}
|
with: {fetch-depth: 0}
|
||||||
|
|
||||||
- uses: zricethezav/gitleaks-action@v1 # Action page: <https://github.com/zricethezav/gitleaks-action>
|
- uses: zricethezav/gitleaks-action@v1 # Action page: <https://github.com/zricethezav/gitleaks-action>
|
||||||
@ -22,7 +22,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
name: Golang-CI (lint)
|
name: Golang-CI (lint)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action>
|
uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action>
|
||||||
@ -34,7 +34,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
name: Validate config file
|
name: Validate config file
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with: {node-version: '16'}
|
with: {node-version: '16'}
|
||||||
@ -52,7 +52,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with: {go-version: 1.17}
|
with: {go-version: 1.17}
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA'
|
with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA'
|
||||||
|
|
||||||
- name: Go modules Cache # Docs: <https://git.io/JfAKn#go---modules>
|
- name: Go modules Cache # Docs: <https://git.io/JfAKn#go---modules>
|
||||||
@ -88,7 +88,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with: {go-version: 1.17}
|
with: {go-version: 1.17}
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: gacts/github-slug@v1
|
- uses: gacts/github-slug@v1
|
||||||
id: slug
|
id: slug
|
||||||
@ -126,7 +126,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: [build]
|
needs: [build]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -157,7 +157,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: [golangci-lint, go-test, validate-config-file]
|
needs: [golangci-lint, go-test, validate-config-file]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: gacts/github-slug@v1
|
- uses: gacts/github-slug@v1
|
||||||
id: slug
|
id: slug
|
||||||
@ -183,7 +183,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: [docker-image]
|
needs: [docker-image]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2 # is needed for `upload-sarif` action
|
- uses: actions/checkout@v3 # is needed for `upload-sarif` action
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -208,7 +208,7 @@ jobs: # Docs: <https://git.io/JvxXE>
|
|||||||
needs: [docker-image]
|
needs: [docker-image]
|
||||||
timeout-minutes: 2
|
timeout-minutes: 2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user