Skip to content

Commit

Permalink
Upgrade GH actions and configure dependabot
Browse files Browse the repository at this point in the history
Signed-off-by: Fran Mulero <francisco-jose.mulero@broadcom.com>
  • Loading branch information
fmulero committed Nov 7, 2024
1 parent 40ce168 commit 704bdcb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Empty file added .github/dependabot.yml
Empty file.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Remove all permissions by default
permissions: {}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand All @@ -24,8 +25,8 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version: '^1.22.4' # The Go version to download (if necessary) and use.
- name: Install Build Dependencies
Expand All @@ -52,7 +53,7 @@ jobs:
file $target
tar -C "$(dirname "$target")" -czf "$target.tar.gz" "$(basename "$target")"
done
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: built-binaries
path: |
Expand All @@ -62,8 +63,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
path: ./artifacts
- name: Set tag name
Expand Down

0 comments on commit 704bdcb

Please sign in to comment.