ci(cron): install oras
v1.2.0 in a separate step (#45)
#186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
unittest: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ stable, oldstable ] | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Run unit tests | |
run: go test ./... |