Compare commits
3 Commits
d2ce81647b
...
gitea-acti
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c156be7a1 | |||
| d36262eaf4 | |||
| e7a054c57f |
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -1,5 +1,8 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "^test$"
|
||||||
jobs:
|
jobs:
|
||||||
gobuild:
|
gobuild:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -10,8 +13,10 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.21.x'
|
go-version: '1.21.x'
|
||||||
- name: Build
|
- name: Build day one
|
||||||
run: go build -v ./*/*.go
|
run: go build -v ./day01/*.go
|
||||||
|
- name: Build day two
|
||||||
|
run: go build -v ./day02/*.go
|
||||||
- name: Display Go version
|
- name: Display Go version
|
||||||
run: go version
|
run: go version
|
||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
|
|||||||
Reference in New Issue
Block a user