9 Commits

Author SHA1 Message Date
7c156be7a1 Adding a tag to specify when to build 2023-12-02 19:14:16 +01:00
d36262eaf4 Using two different name tags to build
Some checks failed
Build / gobuild (push) Failing after 1m4s
2023-12-02 16:40:32 +00:00
e7a054c57f Trying to build two files 2023-12-02 16:38:48 +00:00
7ff39e072c Renamed .gitea to .github
All checks were successful
Build / gobuild (push) Successful in 2m39s
2023-12-02 13:06:31 +00:00
77dd5783b2 Changed folder name from 20231201 to day01
All checks were successful
Build / gobuild (push) Successful in 1m12s
2023-12-02 13:04:51 +00:00
ad60206c09 Changed folder name from 20231201 to day01 2023-12-02 13:04:00 +00:00
8bb2011f4a Reverted to 'build' command
All checks were successful
Build / gobuild (push) Successful in 1m12s
2023-12-02 12:58:46 +00:00
a1eab8f002 Modified 'build' action to 'run' action
Some checks failed
Build / gobuild (push) Failing after 46s
2023-12-02 12:48:30 +00:00
fb9a78c929 Removed test (useless atm) 2023-12-02 12:47:53 +00:00
3 changed files with 8 additions and 10 deletions

View File

@@ -1,5 +1,8 @@
name: Build
on: [push]
on:
push:
tags:
- "^test$"
jobs:
gobuild:
runs-on: ubuntu-latest
@@ -10,18 +13,13 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
- name: Build
run: go build -v ./*/*.go
- name: Build day one
run: go build -v ./day01/*.go
- name: Build day two
run: go build -v ./day02/*.go
- name: Display Go version
run: go version
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Test with Go
run: go test ./*/*.go -json > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v3
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json
- run: echo "This job's status is ${{ job.status }}."