From 3f9ab155f85066462dc363c967787cad50517e1c Mon Sep 17 00:00:00 2001 From: Martin Molnar Date: Wed, 5 Jun 2024 18:02:09 +0200 Subject: [PATCH] fix: remove spectral and update go in github actions --- .github/workflows/go.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e9cc715..3776120 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,25 +1,14 @@ name: Go on: [push] -jobs: - - spectralops: - name: Spectral - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Install - run: curl -L spectralops.io/get | sudo sh - - name: Scan - run: spectral run - +jobs: validator: name: Checks Validators runs-on: ubuntu-latest steps: - - name: Set up Go 1.13 + - name: Set up Go 1.22 uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: 1.22 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 @@ -32,10 +21,10 @@ jobs: name: Code Test runs-on: ubuntu-latest steps: - - name: Set up Go 1.13 + - name: Set up Go 1.22 uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: 1.22 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1