Skip to content

switch GHA test image to ubuntu-latest #2

switch GHA test image to ubuntu-latest

switch GHA test image to ubuntu-latest #2

# papigoplug-test.yaml
name: papigoplug-test
on:
push:
branches: [main, development, tests]
pull_request:
workflow_dispatch:
jobs:
papigoplug-test-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v2

Check failure on line 20 in .github/workflows/papigoplug-test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/papigoplug-test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
with:
go-version: 1.21.3
id: go
- name: Install Packages
run: go get -v -t -d ./...
- name: Run Tests
run: go test -v ./papigoplug_test/papigoplug_test.go