Skip to content

Commit

Permalink
ci: setup go
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen committed Mar 9, 2024
1 parent 2a17f52 commit 34082e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:
otp-version: "26"
gleam-version: "1.0.0"
elixir-version: "1.16.1"
# Used go shfmt
- uses: actions/setup-go@v5
with:
go-version: "stable"

- run: rustup toolchain install stable --profile minimal
- run: rustup component add rustfmt clippy
Expand Down Expand Up @@ -99,4 +103,10 @@ jobs:
- name: Install stylua
run: cargo install stylua

- name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest

- name: Validate shfmt
run: shfmt --version

- run: cargo test

0 comments on commit 34082e2

Please sign in to comment.