Skip to content

Commit

Permalink
ci: Integrate code formating
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeis authored Nov 26, 2024
1 parent d4b5c3b commit 21de69b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update-version-and-create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
- name: Update version.nix file
run: |
echo "\"${{ env.new_version }}\"" > pkgs/fabric/version.nix
- name: Format source codes
run: |
go fmt ./...
- name: Update gomod2nix.toml file
run: |
Expand All @@ -73,6 +77,7 @@ jobs:
git add version.go
git add pkgs/fabric/version.nix
git add gomod2nix.toml
git add .
if ! git diff --staged --quiet; then
git commit -m "Update version to ${{ env.new_tag }} and commit $commit_hash"
else
Expand Down

0 comments on commit 21de69b

Please sign in to comment.