Skip to content

chore: update release ci action(v0.2.2) #30

chore: update release ci action(v0.2.2)

chore: update release ci action(v0.2.2) #30

Workflow file for this run

name: "test"
on:
push:
branches:
- "**"
jobs:
go-versions:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.versions.outputs.versions }}
steps:
- id: versions
run: |
versions=$(curl -s 'https://go.dev/dl/?mode=json' | jq -c 'map(.version[2:])')
echo "versions=$versions" >> $GITHUB_OUTPUT
ci:
name: "Run CI"
needs: go-versions
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: ${{fromJson(needs.go-versions.outputs.versions)}}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: WillAbides/[email protected]
with:
go-version: ${{ matrix.go-version }}
- run: "go test -v ./..."