Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix asdf setup in Github Actions #25

Merged
merged 1 commit into from
Apr 2, 2023
Merged
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
8 changes: 2 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,11 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Install asdf
uses: asdf-vm/actions/setup@v2.1.0
- name: Install tools via asdf
uses: asdf-vm/actions/install@v2.1.0
with:
asdf_branch: v0.11.2

# TODO: why is this needed?
- name: Add golang asdf plugin
run: asdf plugin-add golang https://github.com/kennyp/asdf-golang.git

- name: Run unit tests
run: make test

Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,10 @@ jobs:
fetch-depth: 0

- name: Install tools via asdf
uses: asdf-vm/actions/setup@v2.1.0
uses: asdf-vm/actions/install@v2.1.0
with:
asdf_branch: v0.11.2

# TODO: why is this needed?
- name: Add golang asdf plugin
run: asdf plugin-add golang https://github.com/kennyp/asdf-golang.git

- name: Add goreleaser asdf plugin
run: asdf plugin-add goreleaser https://github.com/kforsthoevel/asdf-goreleaser.git

- name: Release
run: make release
env:
Expand Down