Skip to content

Commit

Permalink
ci: use GitHub Action for Mage
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Oct 23, 2023
1 parent 99127de commit bf989df
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,11 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: |
git clone --depth 1 --branch v1.13.0 https://github.com/magefile/mage
cd mage
go run bootstrap.go
- run: |
go version
go env
mage -version
docker version
- uses: magefile/mage-action@v3
with:
version: v1.13.0
args: build

# First build to check for compile errors
- run: mage build
# Then lint, taking `.golangci.yml` into account
- uses: golangci/golangci-lint-action@v3
# Finally test all modules
Expand Down

0 comments on commit bf989df

Please # to comment.