Skip to content

fix(go): update go version to 1.20 #91

fix(go): update go version to 1.20

fix(go): update go version to 1.20 #91

Workflow file for this run

name: Test
on:
push:
tags-ignore:
- '**'
branches:
- '**'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
- name: Checkout code
uses: actions/checkout@v2
- name: Acceptance Test
run: make acctest
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
release-dry-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Release Dry Run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx -p @semantic-release/changelog -p @semantic-release/git -p semantic-release \
semantic-release -d --branches ${GITHUB_REF##*/}
goreleaser-check:
steps:

Check failure on line 40 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 40, Col: 5): Required property is missing: runs-on
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
install-only: true
- name: Show GoReleaser version
run: goreleaser -v
- name: check
run: goreleaser check .goreleaser.yml