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
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: peter-evans/dockerhub-description@v2 # Action page: <https://github.com/peter-evans/dockerhub-description>
with:

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-go@v2
with: {go-version: 1.17.6}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gacts/github-slug@v1
id: slug
@ -46,7 +46,7 @@ jobs:
name: Build docker image
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gacts/github-slug@v1
id: slug

View File

@ -13,7 +13,7 @@ jobs: # Docs: <https://git.io/JvxXE>
name: Gitleaks
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: {fetch-depth: 0}
- 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)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run linter
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
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with: {node-version: '16'}
@ -52,7 +52,7 @@ jobs: # Docs: <https://git.io/JvxXE>
- uses: actions/setup-go@v2
with: {go-version: 1.17}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA'
- 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
with: {go-version: 1.17}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gacts/github-slug@v1
id: slug
@ -126,7 +126,7 @@ jobs: # Docs: <https://git.io/JvxXE>
runs-on: ubuntu-20.04
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/download-artifact@v2
with:
@ -157,7 +157,7 @@ jobs: # Docs: <https://git.io/JvxXE>
runs-on: ubuntu-20.04
needs: [golangci-lint, go-test, validate-config-file]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gacts/github-slug@v1
id: slug
@ -183,7 +183,7 @@ jobs: # Docs: <https://git.io/JvxXE>
runs-on: ubuntu-20.04
needs: [docker-image]
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
with:
@ -208,7 +208,7 @@ jobs: # Docs: <https://git.io/JvxXE>
needs: [docker-image]
timeout-minutes: 2
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/download-artifact@v2
with: