Skip to content

Commit

Permalink
Lock actions used in workflows on patch releases
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Mar 9, 2022
1 parent d515ccd commit 489d3b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v3.0.0
with:
go-version: 1.17
check-latest: true

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.0.0

- name: Cache Go modules
uses: actions/cache@v2.1.7
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v3.0.0
with:
go-version: 1.17
check-latest: true
Expand All @@ -87,7 +87,7 @@ jobs:
uses: anchore/sbom-action/download-syft@v0.7.0

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.0.0
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
# checkout only required to run local action (defined in this repo)
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.0.0

- name: Download build artifact
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 489d3b7

Please sign in to comment.