Merge pull request #7 from zkokk/deploy

Deploy
This commit is contained in:
zkokk 2024-06-14 09:48:57 +03:00 committed by GitHub
commit 67032c7e46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 24 deletions

View file

@ -4,6 +4,7 @@ on:
pull_request: pull_request:
types: types:
- closed - closed
push:
branches: branches:
- main - main

View file

@ -1,24 +1,24 @@
name: i386 linux tests #name: i386 linux tests
#
on: #on:
push: # push:
branches: [ master ] # branches: [ master ]
pull_request: # pull_request:
branches: [ master ] # branches: [ master ]
workflow_dispatch: # workflow_dispatch:
#
jobs: #jobs:
build: # build:
runs-on: self-hosted # runs-on: self-hosted
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Set up Go # - name: Set up Go
uses: actions/setup-go@v5 # uses: actions/setup-go@v5
with: # with:
go-version: 1.21.4 # go-version: 1.21.4
cache: false # cache: false
- name: Run tests # - name: Run tests
run: go test -short ./... # run: go test -short ./...
env: # env:
GOOS: linux # GOOS: linux
GOARCH: 386 # GOARCH: 386