Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
outputs:
rust-version: ${{ steps.rust-version.outputs.RUST_VERSION }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Get rust version from .tool-versions
id: rust-version
run: echo "RUST_VERSION=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
deny:
needs: get-rust-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ needs.get-rust-version.outputs.rust-version }}
Expand All @@ -40,7 +40,7 @@ jobs:
needs: get-rust-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ needs.get-rust-version.outputs.rust-version }}
Expand Down Expand Up @@ -74,27 +74,27 @@ jobs:
binary_name: gitopolis
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ needs.get-rust-version.outputs.rust-version }}
targets: ${{ matrix.target }}
- name: Cache Cargo registry
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ~/.cargo/registry/index
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo dependencies
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: ~/.cargo/registry/cache
key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-deps-
- name: Cache build artifacts
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: target
key: ${{ runner.os }}-${{ matrix.target }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('**/*.rs') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
should_release: ${{ steps.check_changes.outputs.should_release }}
release_tag: ${{ steps.version_outputs.outputs.tag }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
if: needs.check-release.outputs.should_release == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-nix-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout nix branch
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: nix

Expand Down
Loading