Skip to content

Fix gas

Fix gas #37

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests-go-stable:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: faucet
strategy:
matrix:
go: [ '1.20' ]
steps:
- name: Set up Golang
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: make tests
- name: Retain event logs of failed tests
if: failure()
uses: actions/upload-artifact@v3
with:
name: event-log-go-1.20
path: failed-test-data
tests-go-latest:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: faucet
steps:
- name: Set up Golang
uses: actions/setup-go@v3
with:
go-version: '1.20'
check-latest: true
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: make tests
- name: Retain event logs of failed tests
if: failure()
uses: actions/upload-artifact@v3
with:
name: event-log-go-latest
path: failed-test-data