Bump actions/checkout from 2 to 3 (#71)

This commit is contained in:
dependabot[bot] 2022-03-02 03:38:28 +00:00 committed by GitHub
parent 62493411b4
commit b7f82e4635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View File

@ -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:

View File

@ -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

View File

@ -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: