Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump actions/cache from 3.0.11 to 5.0.2 #65

Bump actions/cache from 3.0.11 to 5.0.2

Bump actions/cache from 3.0.11 to 5.0.2 #65

Workflow file for this run

name: tests
on:
push:
branches-ignore:
- 'gh-pages'
pull_request:
branches-ignore:
- 'gh-pages'
jobs:
# Label of the container job
sqlite:
strategy:
matrix:
go: ['1.17', '1.16']
platform: [ubuntu-latest] # can not run in windows OS
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: go mod package cache
uses: actions/[email protected]
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('go.sum') }}
- name: Tests
run: go test