Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
actions/checkout v3 -> v4
  • Loading branch information
Danielius1922 committed Sep 5, 2023
1 parent 2f8ee9c commit 9dda9bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go 1.18+
uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staticAnalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go 1.18+
uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-for-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

# Checks-out repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Build everything
- name: Run a build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
# Checks-out repository under $GITHUB_WORKSPACE
- name: Checkout
if: ${{!startsWith(matrix.os, 'ubuntu')}}
uses: actions/checkout@v3
uses: actions/checkout@v4

# Checks-out repository under $GITHUB_WORKSPACE with tags and history (needed by "SonarCloud Scan" step)
- name: Full checkout
if: startsWith(matrix.os,'ubuntu')
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full clone for SonarCloud

Expand Down

0 comments on commit 9dda9bb

Please sign in to comment.