Skip to content

Commit

Permalink
Merge pull request science-computing#331 from primeos-work/only-pin-c…
Browse files Browse the repository at this point in the history
…heckout-action-to-major-version

actions: Only pin the checkout action to a major version
  • Loading branch information
primeos-work committed Jan 4, 2024
2 parents 5e91026 + 4081eec commit f46fd91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
Expand All @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
Expand All @@ -58,7 +58,7 @@ jobs:
- beta
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
Expand All @@ -85,7 +85,7 @@ jobs:
continue-on-error: ${{ matrix.checks == 'advisories' }}

steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}
Expand All @@ -105,7 +105,7 @@ jobs:
- rust: beta
optional: true
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
Expand Down

0 comments on commit f46fd91

Please sign in to comment.