Skip to content
Closed
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
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,20 @@ jobs:
- uses: actions/checkout@v2
- id: get-version
run: echo "::set-output name=CURRENT_VERSION::$(cat Makefile | head -n1 | awk -F= '{print $2}')"

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Setup docker-compose compatibility
run: |
mkdir -p $HOME/bin
echo '#!/bin/sh' > $HOME/bin/docker-compose
echo 'exec docker compose "$@"' >> $HOME/bin/docker-compose
chmod +x $HOME/bin/docker-compose
echo "$HOME/bin" >> $GITHUB_PATH

- name: Build
run: make

Expand Down
Loading