Skip to content

update github actions config #161

update github actions config

update github actions config #161

Workflow file for this run

name: BuildTest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install redis-cli
run: |
sudo apt-get update
sudo apt-get -y install redis
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: [ '1.17', '1.19', '1.21', '1.22']

Check failure on line 21 in .github/workflows/build-test.yml

View workflow run for this annotation

GitHub Actions / BuildTest

Invalid workflow file

The workflow is not valid. .github/workflows/build-test.yml (Line: 21, Col: 23): A sequence was not expected
- name: Build
run: go build
- name: Test
run: ./run-tests